Don't count angrystone in level stats
authorTobias Markus <tobbi@mozilla-uk.org>
Mon, 9 Dec 2013 14:04:25 +0000 (15:04 +0100)
committerTobias Markus <tobiasmarkus1@tobiass-mbp.fritz.box>
Fri, 24 Jan 2014 21:56:55 +0000 (22:56 +0100)
Formatting update for molerock

src/badguy/angrystone.cpp
src/badguy/mole_rock.cpp

index a45692d..bb0b476 100644 (file)
@@ -33,6 +33,7 @@ AngryStone::AngryStone(const Reader& reader) :
   timer(),
   state(IDLE)
 {
+  countMe = false;
   physic.set_velocity_x(0);
   physic.set_velocity_y(0);
   physic.enable_gravity(true);
index 9b3c0a6..786b396 100644 (file)
 #include "sprite/sprite.hpp"
 #include "supertux/object_factory.hpp"
 
-MoleRock::MoleRock(const Reader& reader)
-  : BadGuy(reader, "images/creatures/mole/mole_rock.sprite", LAYER_TILES - 2), parent(0), initial_velocity(Vector(0, -400))
+MoleRock::MoleRock(const Reader& reader) :
+  BadGuy(reader, "images/creatures/mole/mole_rock.sprite", LAYER_TILES - 2),
+  parent(0),
+  initial_velocity(Vector(0, -400))
 {
   physic.enable_gravity(true);
   countMe = false;