diff options
author | withmorten <morten.with@gmail.com> | 2021-01-13 00:28:51 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-13 00:28:51 +0100 |
commit | e122a75dd283b79fe5f5da742a8e11eab8730ec3 (patch) | |
tree | 27492272029cd7847dae55daebefc2340638419d /src/vehicles | |
parent | move stuff back into class; securom comments (diff) | |
download | re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar.gz re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar.bz2 re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar.lz re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar.xz re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.tar.zst re3-e122a75dd283b79fe5f5da742a8e11eab8730ec3.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Cranes.h | 2 | ||||
-rw-r--r-- | src/vehicles/Heli.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Cranes.h b/src/vehicles/Cranes.h index 162f9af9..e842ed3f 100644 --- a/src/vehicles/Cranes.h +++ b/src/vehicles/Cranes.h @@ -88,7 +88,7 @@ public: static bool IsThisCarBeingCarriedByAnyCrane(CVehicle* pVehicle); static bool IsThisCarBeingTargettedByAnyCrane(CVehicle* pVehicle); static void Save(uint8* buf, uint32* size); - static void Load(uint8* buf, uint32 size); // on mobile it's CranesLoad outside of the class + static void Load(uint8* buf, uint32 size); // out of class in III PC and later because of SecuROM static uint32 CarsCollectedMilitaryCrane; static int32 NumCranes; 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; |