summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/control')
-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)