Bugfix for non-bullet compilation (was incorrect in previous commit).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
661751678b
commit
10402c390a
@ -142,7 +142,9 @@ void Projectile::init(Kart *kart, int collectable_)
|
||||
//-----------------------------------------------------------------------------
|
||||
Projectile::~Projectile()
|
||||
{
|
||||
#ifdef BULLET
|
||||
world->getPhysics()->removeBody(getBody());
|
||||
#endif
|
||||
} // ~Projectile
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user