- add 'volatile' keyword to some vars in PingInCivCar

This commit is contained in:
Ilya Shurumov 2020-11-14 16:41:49 +06:00
parent 7cf69f4273
commit dd56659da1

View File

@ -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
{