Set countMe flag to false for headless snomen
authorLMH <lmh.0013@gmail.com>
Sun, 22 Mar 2015 04:06:56 +0000 (18:06 -1000)
committerLMH <lmh.0013@gmail.com>
Sun, 22 Mar 2015 04:07:25 +0000 (18:07 -1000)
src/badguy/snowman.cpp

index e0fa39a..6170ae1 100644 (file)
@@ -45,6 +45,7 @@ Snowman::loose_head()
   physic.set_acceleration_y(0);
   physic.enable_gravity(true);
   set_state (STATE_FALLING);
+  countMe = false;
 
   /* Create a new snowball where the snowman's head was */
   auto snowball = std::make_shared<SnowBall>(snowball_pos, dir, dead_script);