summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-03 16:04:59 +0100
committeraap <aap@papnet.eu>2020-12-03 16:04:59 +0100
commit13cefd329390c119126af6dcf0558ceb7c720e59 (patch)
treefa6f5344fe2e0f590d135515e40a5e673fcbf39a /src/vehicles
parentlittle fixes for animviewer (diff)
downloadre3-13cefd329390c119126af6dcf0558ceb7c720e59.tar
re3-13cefd329390c119126af6dcf0558ceb7c720e59.tar.gz
re3-13cefd329390c119126af6dcf0558ceb7c720e59.tar.bz2
re3-13cefd329390c119126af6dcf0558ceb7c720e59.tar.lz
re3-13cefd329390c119126af6dcf0558ceb7c720e59.tar.xz
re3-13cefd329390c119126af6dcf0558ceb7c720e59.tar.zst
re3-13cefd329390c119126af6dcf0558ceb7c720e59.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Heli.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp
index a8705524..7008818b 100644
--- a/src/vehicles/Heli.cpp
+++ b/src/vehicles/Heli.cpp
@@ -778,8 +778,10 @@ CHeli::InitHelis(void)
for(i = 0; i < NUM_HELIS; i++)
pHelis[i] = nil;
+#if GTA_VERSION >= GTA3_PS2_160
((CVehicleModelInfo*)CModelInfo::GetModelInfo(MI_ESCAPE))->SetColModel(&CTempColModels::ms_colModelPed1);
((CVehicleModelInfo*)CModelInfo::GetModelInfo(MI_CHOPPER))->SetColModel(&CTempColModels::ms_colModelPed1);
+#endif
}
CHeli*
@@ -789,6 +791,13 @@ GenerateHeli(bool catalina)
CVector heliPos;
int i;
+#if GTA_VERSION < GTA3_PS2_160
+ if(catalina)
+ ((CVehicleModelInfo*)CModelInfo::GetModelInfo(MI_ESCAPE))->SetColModel(&CTempColModels::ms_colModelPed1);
+ else
+ ((CVehicleModelInfo*)CModelInfo::GetModelInfo(MI_CHOPPER))->SetColModel(&CTempColModels::ms_colModelPed1);
+#endif
+
if(catalina)
heli = new CHeli(MI_ESCAPE, PERMANENT_VEHICLE);
else