diff options
author | aap <aap@papnet.eu> | 2020-05-06 14:27:41 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 14:27:41 +0200 |
commit | 7c356b08e61d21303833f8610c1e621991fabb37 (patch) | |
tree | 4d1dd9b2904c1957783b3c8d19f6846e343a6cb6 /src/core | |
parent | some work on zones (diff) | |
download | re3-7c356b08e61d21303833f8610c1e621991fabb37.tar re3-7c356b08e61d21303833f8610c1e621991fabb37.tar.gz re3-7c356b08e61d21303833f8610c1e621991fabb37.tar.bz2 re3-7c356b08e61d21303833f8610c1e621991fabb37.tar.lz re3-7c356b08e61d21303833f8610c1e621991fabb37.tar.xz re3-7c356b08e61d21303833f8610c1e621991fabb37.tar.zst re3-7c356b08e61d21303833f8610c1e621991fabb37.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index 09170f54..15330923 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); } |