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/World.cpp | |
parent | cbfc45b3f72468e7880bec852773955d3886b5ff (diff) |
little cworld bugfix
Diffstat (limited to 'src/core/World.cpp')
-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); } |