summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-12 21:39:33 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-12 21:39:33 +0200
commit3900366a6b872b4f45d789f28193e6fab1feed18 (patch)
tree33520a0b01c004f9ec2e860c7ed1ddcfe7ec8ff3
parentheli AI fix (diff)
downloadre3-3900366a6b872b4f45d789f28193e6fab1feed18.tar
re3-3900366a6b872b4f45d789f28193e6fab1feed18.tar.gz
re3-3900366a6b872b4f45d789f28193e6fab1feed18.tar.bz2
re3-3900366a6b872b4f45d789f28193e6fab1feed18.tar.lz
re3-3900366a6b872b4f45d789f28193e6fab1feed18.tar.xz
re3-3900366a6b872b4f45d789f28193e6fab1feed18.tar.zst
re3-3900366a6b872b4f45d789f28193e6fab1feed18.zip
Diffstat (limited to '')
-rw-r--r--src/control/CarCtrl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp
index 2a2842f4..3b19a5b0 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -2654,7 +2654,6 @@ void CCarCtrl::SteerAIHeliTowardsTargetCoors(CAutomobile* pHeli)
#else
float speed = pHeli->AutoPilot.m_nCruiseSpeed * 0.01f;
#endif
- float tmp = speed;
if (distanceToTarget <= 100.0f)
{
if (distanceToTarget > 75.0f)