From c51dca90c94727a8b7f10e5d3aee05a7928213c6 Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Fri, 4 Jun 2021 12:25:53 +0600 Subject: [PATCH] - fix residentModels masochism --- src_rebuild/Game/C/mission.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src_rebuild/Game/C/mission.c b/src_rebuild/Game/C/mission.c index 34ab7831..3647b930 100644 --- a/src_rebuild/Game/C/mission.c +++ b/src_rebuild/Game/C/mission.c @@ -365,6 +365,11 @@ void SetupResidentModels() { MissionHeader->residentModels[takenSlots++] = wantedCar[i]; } + else + { + // this can make things ugly + takenSlots = foundRM+1; + } // force palette if (singlePal)