--- a/src/Player.cc Sun Dec 07 21:18:09 2008 +0000
+++ b/src/Player.cc Sun Dec 07 21:34:12 2008 +0000
@@ -20,7 +20,7 @@
const int img_width = 17;
Player::Player(GameState &state, Vector position, bool visible) :
- PhysicsObject(state.world, PLAYER_MASS, position, Vector(0, 0)), state(state), visible(visible),
+ PhysicsObject(state.world, PLAYER_MASS, position, Vector(0, 0), PLAYER), state(state), visible(visible),
weapons(buildWeaponsList()), selectedWeapon(0), animation_step(0), rope(*this)
{
// XXX: populate weapons from somewhere else