From: Wolfgang Becker Date: Mon, 29 May 2006 12:17:12 +0000 (+0000) Subject: Reset state for reactivated MrIceBlock. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cdf9e540c471b7bbb51c524647b2ce6d61811f0c;p=supertux.git Reset state for reactivated MrIceBlock. SVN-Revision: 3606 --- diff --git a/src/badguy/mriceblock.cpp b/src/badguy/mriceblock.cpp index a7a785688..49ed17040 100644 --- a/src/badguy/mriceblock.cpp +++ b/src/badguy/mriceblock.cpp @@ -61,6 +61,7 @@ MrIceBlock::activate() physic.set_velocity_x(dir == LEFT ? -WALKSPEED : WALKSPEED); sprite->set_action(dir == LEFT ? "left" : "right"); + set_state(ICESTATE_NORMAL); } void