summaryrefslogtreecommitdiffstats
path: root/src/Collision.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-29 11:09:33 +0200
committeraap <aap@papnet.eu>2019-06-29 11:09:33 +0200
commitb2f8c7eb23f9def86acb84ba2936041ded0db748 (patch)
treedf7bda7922a10f05de1ca758a3fa463786ed28ea /src/Collision.cpp
parentforgot the actual file... (diff)
downloadre3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.gz
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.bz2
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.lz
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.xz
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.zst
re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.zip
Diffstat (limited to 'src/Collision.cpp')
-rw-r--r--src/Collision.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Collision.cpp b/src/Collision.cpp
index 95e6626a..c7593a04 100644
--- a/src/Collision.cpp
+++ b/src/Collision.cpp
@@ -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;