summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Heli.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-13 00:28:07 +0100
committerwithmorten <morten.with@gmail.com>2021-01-13 00:28:07 +0100
commit61036779140610c81688a636c3226c46571dbbef (patch)
tree1656364b5d81357883639fc1acd30668cc679f8b /src/vehicles/Heli.cpp
parentMerge pull request #954 from withmorten/master (diff)
downloadre3-61036779140610c81688a636c3226c46571dbbef.tar
re3-61036779140610c81688a636c3226c46571dbbef.tar.gz
re3-61036779140610c81688a636c3226c46571dbbef.tar.bz2
re3-61036779140610c81688a636c3226c46571dbbef.tar.lz
re3-61036779140610c81688a636c3226c46571dbbef.tar.xz
re3-61036779140610c81688a636c3226c46571dbbef.tar.zst
re3-61036779140610c81688a636c3226c46571dbbef.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 56d6a8eb..44e9a73f 100644
--- a/src/vehicles/Heli.cpp
+++ b/src/vehicles/Heli.cpp
@@ -830,7 +830,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;