mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Fix mirrors on resize
This commit is contained in:
@@ -908,7 +908,7 @@ void DrawARoomsObjects (short neighbor, Boolean redraw)
|
||||
OffsetRectRoomRelative(&itsRect, neighbor);
|
||||
if ((SectRect(&itsRect, &testRect, &whoCares)) && isLit)
|
||||
DrawMirror(&itsRect);
|
||||
if ((neighbor == kCentralRoom) && (!redraw))
|
||||
if (neighbor == kCentralRoom)
|
||||
{
|
||||
InsetRect(&itsRect, 4, 4);
|
||||
AddToMirrorRegion(&itsRect);
|
||||
|
@@ -55,7 +55,6 @@ void ResetLocale (Boolean soft)
|
||||
ZeroFlamesAndTheLike();
|
||||
ZeroDinahs();
|
||||
KillAllBands();
|
||||
ZeroMirrorRegion();
|
||||
ZeroTriggers();
|
||||
numTempManholes = 0;
|
||||
FlushAnyTriggerPlaying();
|
||||
@@ -71,6 +70,8 @@ void ResetLocale (Boolean soft)
|
||||
ListAllLocalObjects();
|
||||
}
|
||||
|
||||
ZeroMirrorRegion();
|
||||
|
||||
takingTheStairs = false;
|
||||
|
||||
DrawSurface *wasCPort = GetGraphicsPort();
|
||||
|
Reference in New Issue
Block a user