From 7c356b08e61d21303833f8610c1e621991fabb37 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 6 May 2020 14:27:41 +0200 Subject: little cworld bugfix --- src/core/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3