This commit is contained in:
Nikolay Korolev 2021-01-26 02:27:57 +03:00
parent 42d9d6abc8
commit 2fea28f194

View file

@ -322,7 +322,7 @@ bool CGarages::InitDoorGubbins(uint32 id, uint8 type)
void CGarages::SetupAnyGaragesForThisIsland(void) void CGarages::SetupAnyGaragesForThisIsland(void)
{ {
for (int i = 0; i < NumGarages; i++) { for (uint32 i = 0; i < NumGarages; i++) {
CGarage* pGarage = &aGarages[i]; CGarage* pGarage = &aGarages[i];
if (!pGarage->m_bInitialized) if (!pGarage->m_bInitialized)
pGarage->m_bInitialized = InitDoorGubbins(i, pGarage->m_eGarageType); pGarage->m_bInitialized = InitDoorGubbins(i, pGarage->m_eGarageType);