mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Fix dynamic indexes desynchronizing on resolution change (fixes Slumberland boombox switch not working if you change resolution on the screen with the switch)
This commit is contained in:
@@ -953,15 +953,12 @@ void DrawARoomsObjects (short neighbor, Boolean redraw)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (!redraw) // set up links
|
||||
|
||||
for (n = 0; n < numMasterObjects; n++)
|
||||
{
|
||||
for (n = 0; n < numMasterObjects; n++)
|
||||
{
|
||||
if ((masterObjects[n].objectNum == i) &&
|
||||
(masterObjects[n].roomNum == localNumbers[neighbor]))
|
||||
masterObjects[n].dynaNum = dynamicNum;
|
||||
}
|
||||
if ((masterObjects[n].objectNum == i) &&
|
||||
(masterObjects[n].roomNum == localNumbers[neighbor]))
|
||||
masterObjects[n].dynaNum = dynamicNum;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user