Skip to content

Commit

Permalink
Don't count angrystone in level stats
Browse files Browse the repository at this point in the history
Formatting update for molerock
  • Loading branch information
tobbi authored and Tobias Markus committed Jan 24, 2014
1 parent d6021a4 commit c404b21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/badguy/angrystone.cpp
Expand Up @@ -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);
Expand Down
6 changes: 4 additions & 2 deletions src/badguy/mole_rock.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit c404b21

Please sign in to comment.