Reset state for reactivated MrIceBlock.
authorWolfgang Becker <uafr@gmx.de>
Mon, 29 May 2006 12:17:12 +0000 (12:17 +0000)
committerWolfgang Becker <uafr@gmx.de>
Mon, 29 May 2006 12:17:12 +0000 (12:17 +0000)
SVN-Revision: 3606

src/badguy/mriceblock.cpp

index a7a7856..49ed170 100644 (file)
@@ -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