miscellaneous, mostly world related

This commit is contained in:
aap 2019-06-29 11:09:33 +02:00
parent f2d1ceb043
commit b2f8c7eb23
20 changed files with 244 additions and 69 deletions

View file

@ -49,7 +49,7 @@ void
CCollision::Update(void)
{
CVector playerCoors;
FindPlayerCoors(playerCoors);
playerCoors = FindPlayerCoors();
eLevelName level = CTheZones::m_CurrLevel;
bool forceLevelChange = false;
@ -130,7 +130,7 @@ CCollision::LoadCollisionWhenINeedIt(bool forceChange)
level = LEVEL_NONE;
FindPlayerCoors(playerCoors);
playerCoors = FindPlayerCoors();
sx = CWorld::GetSectorIndexX(playerCoors.x);
sy = CWorld::GetSectorIndexY(playerCoors.y);
multipleLevels = false;