From 67814910b7098102f0833a3176a79252972847bb Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Sun, 1 Nov 2020 02:08:02 +0600 Subject: [PATCH] - fix die with fade in Chicago --- src_rebuild/GAME/C/MAIN.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src_rebuild/GAME/C/MAIN.C b/src_rebuild/GAME/C/MAIN.C index ba89591d..250a2d1a 100644 --- a/src_rebuild/GAME/C/MAIN.C +++ b/src_rebuild/GAME/C/MAIN.C @@ -2781,16 +2781,18 @@ void UpdatePlayerInformation(void) // [A] if all wheels above the water surface and we are falling down // fade out and end the game - if(cp->hd.where.t[1] < -1000 && gDieWithFade == 0) + if(wheelsAboveWaterToDieWithFade > 0 && cp->hd.where.t[1] < -1000 && gDieWithFade == 0) { - // fix for Havana tunnels - if (GameLevel == 1) + // fix for Havana tunnels and Chicago freeway + if (GameLevel <= 1) { if(wheelsAboveWaterToDieWithFade == 4) gDieWithFade = 1; } else // car drown as usual + { gDieWithFade = 1; + } } if (wheelsInWater == 4) // apply water damage