This commit is contained in:
parent
6c28c8cc7f
commit
8309175a0c
@ -223,6 +223,7 @@ void CJellyfishGenerator::think( int _frames, CLevel *level )
|
||||
|
||||
enemy->setStartPos( startPos.vx >> 4, startPos.vy >> 4 );
|
||||
enemy->postInit();
|
||||
enemy->updateCollisionArea();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -65,6 +65,7 @@ void CProjectile::init()
|
||||
m_turnSpeed = 256;
|
||||
m_extension = 0;
|
||||
m_isShuttingDown = false;
|
||||
updateCollisionArea();
|
||||
}
|
||||
|
||||
void CProjectile::init( DVECTOR initPos, s16 initHeading )
|
||||
|
@ -191,12 +191,15 @@ DVECTOR const &CamPos=CLevel::getCameraPos();
|
||||
if (Flag)
|
||||
{
|
||||
thing->think(_frames);
|
||||
thing->updateCollisionArea();
|
||||
// thing->updateCollisionArea();
|
||||
if (thing->canCollide())
|
||||
{
|
||||
CThingManager::addToCollisionList(thing);
|
||||
}
|
||||
}
|
||||
/* THIS WILL NOT STAY HERE, THINGS MUST BE INITIALISED CORRECTLY */
|
||||
thing->updateCollisionArea();
|
||||
|
||||
thing=thing->m_nextListThing;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user