Skip to content

Commit

Permalink
- make truck available if model is present
Browse files Browse the repository at this point in the history
  • Loading branch information
SoapyMan committed May 11, 2023
1 parent 46c6f09 commit 76db6e8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src_rebuild/Game/Frontend/FEmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -2240,9 +2240,17 @@ int CarSelectScreen(int bSetup)
{
for (int i = 4; i < 9; i++)
{
#if USE_PC_FILESYSTEM
// [A] minimal requirement for this car to be selectable
extern int gContentOverride;
if (i == 8)
CarAvailability[0][i] = gContentOverride && FileExists("LEVELS\\CHICAGO\\CARMODEL_11_clean.MDL"); // remove truck
else
CarAvailability[0][i] = 1;
#else
if (i != 8)
CarAvailability[0][i] = 1; // remove truck

#endif
CarAvailability[1][i] = 1;
CarAvailability[2][i] = 1;
CarAvailability[3][i] = 1;
Expand Down

0 comments on commit 76db6e8

Please sign in to comment.