X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftrigger%2Fhatch.cpp;h=fa8b55f912f947a47e71134e25a400fa5917bb96;hb=293018e8bf22831612509895e7e288e08ed734b5;hp=6019642bf2d0d589bb42bdcacf68653e96701459;hpb=51a7e63b70778ff98cb63066f618b2a9e32cb684;p=supertux.git diff --git a/src/trigger/hatch.cpp b/src/trigger/hatch.cpp index 6019642bf..fa8b55f91 100644 --- a/src/trigger/hatch.cpp +++ b/src/trigger/hatch.cpp @@ -79,6 +79,7 @@ Hatch::action(float ) { //Check if hatch animation is complete if(sprite->check_animation()) { + sprite->set_action("normal"); GameSession::current()->respawn(target_sector, target_spawnpoint); } }