summaryrefslogtreecommitdiffstats
path: root/src/control/PathFind.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-02-16 21:08:54 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-02-16 21:08:54 +0100
commit1337a9b6034570861a7cadaf5338d0cbb5b06255 (patch)
treedc65656c184c0060f053d0f0ea45a8125628e9cd /src/control/PathFind.cpp
parentreview fixes (diff)
downloadre3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar.gz
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar.bz2
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar.lz
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar.xz
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.tar.zst
re3-1337a9b6034570861a7cadaf5338d0cbb5b06255.zip
Diffstat (limited to 'src/control/PathFind.cpp')
-rw-r--r--src/control/PathFind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp
index dad879b1..3a959049 100644
--- a/src/control/PathFind.cpp
+++ b/src/control/PathFind.cpp
@@ -893,7 +893,7 @@ CPathFind::MarkRoadsBetweenLevelsInArea(float x1, float x2, float y1, float y2,
}
void
-CPathFind::MarkPedRoadsBetweenLevelsInArea(float x1, float x2, float y1, float y2, float z1, float z2)
+CPathFind::PedMarkRoadsBetweenLevelsInArea(float x1, float x2, float y1, float y2, float z1, float z2)
{
int i;
@@ -1476,7 +1476,7 @@ STARTPATCHES
InjectHook(0x42DB50, &CPathFind::SwitchRoadsInAngledArea, PATCH_JUMP);
InjectHook(0x42E140, &CPathFind::MarkRoadsBetweenLevelsNodeAndNeighbours, PATCH_JUMP);
InjectHook(0x42DF50, &CPathFind::MarkRoadsBetweenLevelsInArea, PATCH_JUMP);
- InjectHook(0x42E040, &CPathFind::MarkPedRoadsBetweenLevelsInArea, PATCH_JUMP);
+ InjectHook(0x42E040, &CPathFind::PedMarkRoadsBetweenLevelsInArea, PATCH_JUMP);
InjectHook(0x42CC30, &CPathFind::FindNodeClosestToCoors, PATCH_JUMP);
InjectHook(0x42CDC0, &CPathFind::FindNodeClosestToCoorsFavourDirection, PATCH_JUMP);
InjectHook(0x42CFC0, &CPathFind::FindNodeOrientationForCarPlacement, PATCH_JUMP);