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:
@@ -50,6 +50,10 @@ void ResetLocale (Boolean soft)
|
||||
{
|
||||
RemoveSavedMapsNotInRoom(localNumbers[kCentralRoom]);
|
||||
ZeroDinahsNotInRoom(localNumbers[kCentralRoom]);
|
||||
|
||||
// Clear all dinah indexes, they'll be remapped
|
||||
for (int i = 0; i < numMasterObjects; i++)
|
||||
masterObjects[i].dynaNum = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user