From: Tobias Markus Date: Mon, 9 Dec 2013 14:04:25 +0000 (+0100) Subject: Don't count angrystone in level stats X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c404b2190f9394d0646018fd72f8ce156b5f9f72;p=supertux.git Don't count angrystone in level stats Formatting update for molerock --- diff --git a/src/badguy/angrystone.cpp b/src/badguy/angrystone.cpp index a45692da4..bb0b476b2 100644 --- a/src/badguy/angrystone.cpp +++ b/src/badguy/angrystone.cpp @@ -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); diff --git a/src/badguy/mole_rock.cpp b/src/badguy/mole_rock.cpp index 9b3c0a6db..786b39677 100644 --- a/src/badguy/mole_rock.cpp +++ b/src/badguy/mole_rock.cpp @@ -20,8 +20,10 @@ #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;