summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-28 13:14:18 +0200
committeraap <aap@papnet.eu>2019-07-28 13:14:18 +0200
commit7da8184b37359f4a83776e0973d1e944ec607afb (patch)
tree0d978da4d05c8fec7055de11042f8f795fc870fa /src/vehicles
parentCAutomobile::PreRender; whole class finished (diff)
parentMerge pull request #168 from Nick007J/master (diff)
downloadre3-7da8184b37359f4a83776e0973d1e944ec607afb.tar
re3-7da8184b37359f4a83776e0973d1e944ec607afb.tar.gz
re3-7da8184b37359f4a83776e0973d1e944ec607afb.tar.bz2
re3-7da8184b37359f4a83776e0973d1e944ec607afb.tar.lz
re3-7da8184b37359f4a83776e0973d1e944ec607afb.tar.xz
re3-7da8184b37359f4a83776e0973d1e944ec607afb.tar.zst
re3-7da8184b37359f4a83776e0973d1e944ec607afb.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.cpp4
-rw-r--r--src/vehicles/Vehicle.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index cafdc28b..36675c8b 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -59,8 +59,8 @@ CVehicle::CVehicle(uint8 CreatedBy)
m_pBlowUpEntity = nil;
field_1FB = 0;
bComedyControls = false;
- m_veh_flagB40 = false;
- m_veh_flagB80 = false;
+ bCraneMessageDone = false;
+ bExtendedRange = false;
bTakeLessDamage = false;
bIsDamaged = false;
bFadeOut = false;
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index cb93e5ff..262bd62c 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -181,8 +181,8 @@ public:
uint8 bLowVehicle: 1; // Need this for sporty type cars to use low getting-in/out anims
uint8 bComedyControls : 1; // Will make the car hard to control (hopefully in a funny way)
uint8 bWarnedPeds : 1; // Has scan and warn peds of danger been processed?
- uint8 m_veh_flagB40 : 1;
- uint8 m_veh_flagB80 : 1;
+ uint8 bCraneMessageDone : 1; // A crane message has been printed for this car allready
+ uint8 bExtendedRange : 1; // This vehicle needs to be a bit further away to get deleted
uint8 bTakeLessDamage : 1; // This vehicle is stronger (takes about 1/4 of damage)
uint8 bIsDamaged : 1; // This vehicle has been damaged and is displaying all its components