summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Heli.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-13 00:32:39 +0100
committerGitHub <noreply@github.com>2021-01-13 00:32:39 +0100
commit5d4917a5d76898a059b99f2c64ed67c297d3f280 (patch)
tree25ae755d979ff1aa4b8d1a8927a751f2468ca1f5 /src/vehicles/Heli.cpp
parentMerge pull request #955 from withmorten/miami (diff)
parentmore securom fixes (diff)
downloadre3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar.gz
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar.bz2
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar.lz
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar.xz
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.tar.zst
re3-5d4917a5d76898a059b99f2c64ed67c297d3f280.zip
Diffstat (limited to 'src/vehicles/Heli.cpp')
-rw-r--r--src/vehicles/Heli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp
index 7854f7fd..1c1b2617 100644
--- a/src/vehicles/Heli.cpp
+++ b/src/vehicles/Heli.cpp
@@ -800,7 +800,7 @@ CHeli::GenerateHeli(bool catalina)
id++;
found = true;
for(i = 0; i < 4; i++)
- if(CHeli::pHelis[i] && CHeli::pHelis[i]->m_nHeliId == id)
+ if(pHelis[i] && pHelis[i]->m_nHeliId == id)
found = false;
}
heli->m_nHeliId = id;