From dd56659da1a2846a52315af98d7759561bd40948 Mon Sep 17 00:00:00 2001 From: Ilya Shurumov Date: Sat, 14 Nov 2020 16:41:49 +0600 Subject: [PATCH] - add 'volatile' keyword to some vars in PingInCivCar --- src_rebuild/GAME/C/CIV_AI.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src_rebuild/GAME/C/CIV_AI.C b/src_rebuild/GAME/C/CIV_AI.C index b6de958e..c74fde5e 100644 --- a/src_rebuild/GAME/C/CIV_AI.C +++ b/src_rebuild/GAME/C/CIV_AI.C @@ -3440,9 +3440,9 @@ int PingInCivCar(int minPingInDist) } { - int numPossibleLanes; - int numLanes; - int allowedToPark; + volatile int numPossibleLanes; + volatile int numLanes; + volatile int allowedToPark; if (ROAD_LANES_COUNT(&roadInfo) == 0) // BAD ROAD {