mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Remove regions, add framing (fixes mirrors)
This commit is contained in:
@@ -24,7 +24,6 @@ void DrawARoomsObjects (short neighbor, Boolean redraw)
|
||||
{
|
||||
objectType thisObject;
|
||||
Rect whoCares, itsRect, rectA, rectB, testRect;
|
||||
RgnHandle theRgn;
|
||||
short i, legit, dynamicNum, n;
|
||||
short floor, suite, room, obj;
|
||||
char wasState;
|
||||
@@ -683,10 +682,7 @@ void DrawARoomsObjects (short neighbor, Boolean redraw)
|
||||
GetMovieBox(theMovie, &movieRect);
|
||||
CenterRectInRect(&movieRect, &whoCares);
|
||||
SetMovieBox(theMovie, &movieRect);
|
||||
theRgn = NewRgn();
|
||||
RectRgn(theRgn, &whoCares);
|
||||
SetMovieDisplayClipRgn(theMovie, theRgn);
|
||||
DisposeRgn(theRgn);
|
||||
SetMovieDisplayClipRgn(theMovie, &whoCares);
|
||||
tvOn = thisObject.data.g.state;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user