mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- add 'volatile' keyword to some vars in PingInCivCar
This commit is contained in:
parent
7cf69f4273
commit
dd56659da1
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user