# HG changeset patch # User terom # Date 1228592998 0 # Node ID 381487d07d1790b6688198c149afc1a4b7560482 # Parent 22ecb9cb924527346f6c876cc2d12344fbca2c9c projectiles remove ground when expiring -> fixed digging diff -r 22ecb9cb9245 -r 381487d07d17 src/Projectile.cc --- a/src/Projectile.cc Sat Dec 06 19:38:01 2008 +0000 +++ b/src/Projectile.cc Sat Dec 06 19:49:58 2008 +0000 @@ -36,7 +36,7 @@ void Projectile::tick (TimeMS dt) { // expire projectiles if (world.tick_timer.get_ticks() > birth_tick + age) - onDestroy(position, false); + onDestroy(position, true); // super PhysicsObject::tick(dt);