summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAI.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-19 00:38:02 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-19 00:38:02 +0100
commit061fd25c6117c57785f044d5e113222f99768255 (patch)
tree64b2e193c7715dc89ed004430b66e9d4c4efee26 /src/peds/PedAI.cpp
parentfixes (diff)
downloadre3-061fd25c6117c57785f044d5e113222f99768255.tar
re3-061fd25c6117c57785f044d5e113222f99768255.tar.gz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.bz2
re3-061fd25c6117c57785f044d5e113222f99768255.tar.lz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.xz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.zst
re3-061fd25c6117c57785f044d5e113222f99768255.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PedAI.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp
index b945cf9b..8b832670 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -6334,7 +6334,6 @@ CPed::PositionAnyPedOutOfCollision(void)
int smallestDistNearVeh = 999;
int smallestDistSomewhereClose = 999;
- CVector vehPos = m_pMyVehicle->GetPosition();
CVector potentialPos;
potentialPos.y = GetPosition().y - 3.5f;
potentialPos.z = GetPosition().z;