summaryrefslogtreecommitdiffstats
path: root/src/Collision.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-28 22:23:55 +0200
committeraap <aap@papnet.eu>2019-06-28 22:23:55 +0200
commit38a7b74b1a10ec64b0ebac060cac92786081f3e0 (patch)
treecfa2f9a7bd82c20decb84f12dcd1fd99b6b7bf3c /src/Collision.cpp
parentfixed CFileMgr, the craziest bug i ever had (diff)
downloadre3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.gz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.bz2
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.lz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.xz
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.tar.zst
re3-38a7b74b1a10ec64b0ebac060cac92786081f3e0.zip
Diffstat (limited to '')
-rw-r--r--src/Collision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Collision.cpp b/src/Collision.cpp
index 2ab609f1..95e6626a 100644
--- a/src/Collision.cpp
+++ b/src/Collision.cpp
@@ -132,7 +132,7 @@ CCollision::LoadCollisionWhenINeedIt(bool forceChange)
FindPlayerCoors(playerCoors);
sx = CWorld::GetSectorIndexX(playerCoors.x);
- sy = CWorld::GetSectorIndexX(playerCoors.y);
+ sy = CWorld::GetSectorIndexY(playerCoors.y);
multipleLevels = false;
veh = FindPlayerVehicle();