summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2021-01-25 23:01:32 +0100
committerGitHub <noreply@github.com>2021-01-25 23:01:32 +0100
commit0ae6d1fecf9a3609179089ea0ca4f01380f370d3 (patch)
tree24e3ff01a010dd57c1c4ba647a9059f329e04650 /src/vehicles/Automobile.cpp
parentconfig (diff)
parentMerge pull request #992 from ForeverL95/ForeverL95-patch-1 (diff)
downloadre3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.gz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.bz2
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.lz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.xz
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.tar.zst
re3-0ae6d1fecf9a3609179089ea0ca4f01380f370d3.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index a0581d5c..4a7bce16 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "common.h"
#include "main.h"
#include "General.h"
@@ -49,6 +49,7 @@
#include "Object.h"
#include "Automobile.h"
#include "Bike.h"
+#include "Wanted.h"
bool bAllCarCheat;
@@ -4173,7 +4174,7 @@ CAutomobile::dmgDrawCarCollidingParticles(const CVector &pos, float amount)
CGeneral::GetRandomNumberInRange(0.1f, 0.25f)),
nil,
CGeneral::GetRandomNumberInRange(0.02f, 0.08f),
- CVehicleModelInfo::ms_vehicleColourTable[m_currentColour1],
+ CVehicleModelInfo::mspInfo->ms_vehicleColourTable[m_currentColour1],
CGeneral::GetRandomNumberInRange(-40.0f, 40.0f),
0,
CGeneral::GetRandomNumberInRange(0.0f, 4.0f));
@@ -4986,7 +4987,6 @@ CAutomobile::HasCarStoppedBecauseOfLight(void)
return false;
}
-// --MIAMI: Done
void
CPed::DeadPedMakesTyresBloody(void)
{
@@ -5010,7 +5010,6 @@ CPed::DeadPedMakesTyresBloody(void)
}
}
-// --MIAMI: Done
void
CPed::MakeTyresMuddySectorList(CPtrList &list)
{