summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-06 14:30:56 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-06 14:30:56 +0200
commit4d06271a29f0b67e24c9b38cae7d6b20e4087ba6 (patch)
tree6e296e788b871fa17935edd7774163df7134a1ac /src
parentsync with master (diff)
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar.gz
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar.bz2
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar.lz
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar.xz
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.tar.zst
re3-4d06271a29f0b67e24c9b38cae7d6b20e4087ba6.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 625ccf57..c884f1ed 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -382,7 +382,7 @@ CWorld::ProcessVerticalLine(const CVector &point1, float z2, CColPoint &point, C
{
AdvanceCurrentScanCode();
CVector point2(point1.x, point1.y, z2);
- return ProcessVerticalLineSector(*GetSector(GetSectorIndexX(point1.x), GetSectorIndexX(point1.y)),
+ return ProcessVerticalLineSector(*GetSector(GetSectorIndexX(point1.x), GetSectorIndexY(point1.y)),
CColLine(point1, point2), point, entity, checkBuildings, checkVehicles,
checkPeds, checkObjects, checkDummies, ignoreSeeThrough, poly);
}