aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel/font.cpp')
-rw-r--r--engines/tinsel/font.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tinsel/font.cpp b/engines/tinsel/font.cpp
index ae7da65473..b1c8b3cb74 100644
--- a/engines/tinsel/font.cpp
+++ b/engines/tinsel/font.cpp
@@ -35,6 +35,8 @@ namespace Tinsel {
//----------------- LOCAL GLOBAL DATA --------------------
+// FIXME: Avoid non-const global vars
+
static char tBuffer[TBUFSZ];
static SCNHANDLE hTagFont = 0, hTalkFont = 0;
@@ -117,7 +119,7 @@ void FettleFontPal(SCNHANDLE fontPal) {
pImg->hImgPal = 0;
if (TinselV2 && SysVar(SV_TAGCOLOUR)) {
- static COLORREF c = GetActorRGB(-1);
+ static COLORREF c = GetActorRGB(-1); // FIXME: Avoid non-const global vars
SetTagColorRef(c);
UpdateDACqueue(SysVar(SV_TAGCOLOUR), 1, &c);
}