From: Matthias Braun Date: Thu, 20 May 2004 23:34:53 +0000 (+0000) Subject: fixed bullet problems X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2aeafe7747a0a4d648deeb17916275e32d9fae68;p=supertux.git fixed bullet problems SVN-Revision: 1289 --- diff --git a/src/world.cpp b/src/world.cpp index 46ff60a1d..eb15b7976 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -395,7 +395,7 @@ World::collision_handler() { // We have detected a collision and now call the // collision functions of the collided objects. - (*j)->collision(&bullets[i], CO_BULLET, COLLISION_NORMAL); + (*j)->collision(bullets[i], CO_BULLET, COLLISION_NORMAL); bullets[i]->collision(CO_BADGUY); break; // bullet is invalid now, so break }