This commit is contained in:
Daveo 2001-05-10 22:39:23 +00:00
parent 6c28c8cc7f
commit 8309175a0c
3 changed files with 6 additions and 1 deletions

View File

@ -223,6 +223,7 @@ void CJellyfishGenerator::think( int _frames, CLevel *level )
enemy->setStartPos( startPos.vx >> 4, startPos.vy >> 4 );
enemy->postInit();
enemy->updateCollisionArea();
}
}
else

View File

@ -65,6 +65,7 @@ void CProjectile::init()
m_turnSpeed = 256;
m_extension = 0;
m_isShuttingDown = false;
updateCollisionArea();
}
void CProjectile::init( DVECTOR initPos, s16 initHeading )

View File

@ -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;
}
}