aboutsummaryrefslogtreecommitdiffstats
path: root/src/vehicles
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
parent005ddf26c1ccfc0f36d26258189b95a1fe7f5b34 (diff)
more securom fixes
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Cranes.h2
-rw-r--r--src/vehicles/Heli.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Cranes.h b/src/vehicles/Cranes.h
index 0e134310..e9178105 100644
--- a/src/vehicles/Cranes.h
+++ b/src/vehicles/Cranes.h
@@ -89,7 +89,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 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;