changeset 428 | 712b943195a6 |
parent 417 | c503e0c6a740 |
child 434 | a8ba81432ddd |
--- a/src/Projectile.cc Sat Jan 24 00:47:54 2009 +0200 +++ b/src/Projectile.cc Sat Jan 24 01:19:38 2009 +0200 @@ -68,7 +68,7 @@ void Projectile::tick (TimeMS dt) { // expire projectiles if (world.getTicks() > birth_tick + weapon->getExpire()) - onDestroy(position, true); + onDestroy(getPosition(), true); // super PhysicsObject::tick(dt);