Skip to content

Commit 5ce8d6c

Browse files
authored
Merge pull request #221 from emre1702/Fix_spoiler_after_quit_#9433
#9433 - Fix missing compatible vehicle-upgrades at clientside
2 parents 24fb0cc + 744c3e7 commit 5ce8d6c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Client/mods/deathmatch/logic/CVehicleUpgrades.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ bool CVehicleUpgrades::IsUpgradeCompatible(unsigned short usUpgrade)
7979
if (us == VEHICLEUPGRADE_NITRO_5X || us == VEHICLEUPGRADE_NITRO_2X || us == VEHICLEUPGRADE_NITRO_10X || us == VEHICLEUPGRADE_HYDRAULICS)
8080
return true;
8181

82+
if (us == 1000 || us == 1001 || us == 1002 || us == 1003 || us == 1014 || /* spoiler */
83+
us == 1015 || us == 1016 || us == 1023 || us == 1049 || us == 1050 || us == 1058 || us == 1060 || us == 1138 || us == 1139 || us == 1146 ||
84+
us == 1147 || us == 1158 || us == 1162 || us == 1163 || us == 116)
85+
{
86+
return true;
87+
}
88+
8289
bool bReturn = false;
8390
switch (usModel)
8491
{

0 commit comments

Comments
 (0)