summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Heli.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicles/Heli.cpp')
-rw-r--r--src/vehicles/Heli.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp
index 1c1b2617..644fdde8 100644
--- a/src/vehicles/Heli.cpp
+++ b/src/vehicles/Heli.cpp
@@ -762,7 +762,7 @@ CHeli::InitHelis(void)
}
CHeli*
-CHeli::GenerateHeli(bool catalina)
+GenerateHeli(bool catalina)
{
CHeli *heli;
CVector heliPos;
@@ -800,7 +800,7 @@ CHeli::GenerateHeli(bool catalina)
id++;
found = true;
for(i = 0; i < 4; i++)
- if(pHelis[i] && pHelis[i]->m_nHeliId == id)
+ if(CHeli::pHelis[i] && CHeli::pHelis[i]->m_nHeliId == id)
found = false;
}
heli->m_nHeliId = id;