src/Player.cc
changeset 265 d97bf6790c22
parent 264 215de3d4de60
child 270 d17126e20de7
--- 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