Fix banner text

This commit is contained in:
elasota
2019-12-27 14:16:42 -05:00
parent 7bc647b026
commit 48dda0664e

View File

@@ -115,7 +115,13 @@ void DrawBannerMessage (Point topLeft)
{ {
Str255 bannerStr, subStr; Str255 bannerStr, subStr;
short count; short count;
CGrafPtr wasGWorld;
GDHandle wasDevice;
GetGWorld(&wasGWorld, &wasDevice);
SetGWorld(workSrcMap, nullptr);
PasStringCopy((*thisHouse)->banner, bannerStr); PasStringCopy((*thisHouse)->banner, bannerStr);
TextFont(applFont); TextFont(applFont);
@@ -156,6 +162,8 @@ void DrawBannerMessage (Point topLeft)
DrawString(subStr); DrawString(subStr);
} }
ForeColor(blackColor); ForeColor(blackColor);
SetGWorld(wasGWorld, wasDevice);
} }
//-------------------------------------------------------------- BringUpBanner //-------------------------------------------------------------- BringUpBanner