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