summaryrefslogtreecommitdiffstats
path: root/src/Collision.cpp
diff options
context:
space:
mode:
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();