mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Refactor neighboring rooms sync-ups. Remove all of the neighboring room objects and recreate them, which fixes a bunch of problems with objects becoming out-of-frame after resize.
This commit is contained in:
@@ -322,3 +322,15 @@ void FixupFallenGrease(SInt16 where, SInt16 who, SInt16 h, SInt16 v, Boolean *is
|
||||
|
||||
*isDynamic = false;
|
||||
}
|
||||
|
||||
void RemapGreaseSavedMap(SInt16 removedItem, SInt16 substituteItem)
|
||||
{
|
||||
for (int i = 0; i < numGrease; i++)
|
||||
{
|
||||
if (grease[i].mapNum == substituteItem)
|
||||
{
|
||||
grease[i].mapNum = removedItem;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user