This commit is contained in:
parent
3a10910187
commit
07c358c793
11 changed files with 156 additions and 13 deletions
|
@ -515,6 +515,17 @@ DVECTOR const &CamPos=CLevel::getCameraPos();
|
|||
thing1=thing1->m_nextCollisionThing;
|
||||
}
|
||||
|
||||
// Player -> Effect collision
|
||||
thing1=s_CollisionLists[CThing::TYPE_FX];
|
||||
while(thing1)
|
||||
{
|
||||
if(thing1->checkCollisionAgainst(playerThing, _frames))
|
||||
{
|
||||
thing1->collidedWith(playerThing);
|
||||
}
|
||||
thing1=thing1->m_nextCollisionThing;
|
||||
}
|
||||
|
||||
// Player -> Friend collision
|
||||
thing1=s_CollisionLists[CThing::TYPE_NPC];
|
||||
while(thing1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue