summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAI.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-21 22:14:30 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-21 22:14:30 +0100
commit50cde660670bcc7a90211a27d9f8971357c36e8d (patch)
tree3eafa9494985c9ffd91eaa26c5796f77b05cc188 /src/peds/PedAI.cpp
parentfix (diff)
downloadre3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar.gz
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar.bz2
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar.lz
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar.xz
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.tar.zst
re3-50cde660670bcc7a90211a27d9f8971357c36e8d.zip
Diffstat (limited to 'src/peds/PedAI.cpp')
-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 3aa9300c..68983dac 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -6289,7 +6289,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;