fix
This commit is contained in:
parent
38c2f8fbb0
commit
02615ccd98
@ -167,7 +167,7 @@ void CGarages::Update(void)
|
||||
}
|
||||
if ((CTimer::GetFrameCounter() & 0xF) != 0xC)
|
||||
return;
|
||||
if (++GarageToBeTidied >= 32)
|
||||
if (++GarageToBeTidied >= NUM_GARAGES)
|
||||
GarageToBeTidied = 0;
|
||||
if (!aGarages[GarageToBeTidied].IsUsed())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user