aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/font.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-17 12:13:23 +0000
committerMax Horn2010-11-17 12:13:23 +0000
commit5ceb54d088392844d826176d9e4ae1fad62fbd72 (patch)
treed977b255e48c693eda50c145249ecbc8d894bc26 /engines/tinsel/font.cpp
parent5a554e3dbe3e9ad3375e43125ec79b07366f4827 (diff)
downloadscummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.tar.gz
scummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.tar.bz2
scummvm-rg350-5ceb54d088392844d826176d9e4ae1fad62fbd72.zip
TINSEL: Get rid of some global variables
These were actually all "harmless" (i.e. where no obstructions to RTL support). Still good to get rid of 'em! svn-id: r54286
Diffstat (limited to 'engines/tinsel/font.cpp')
-rw-r--r--engines/tinsel/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/font.cpp b/engines/tinsel/font.cpp
index b1c8b3cb74..4c76d12400 100644
--- a/engines/tinsel/font.cpp
+++ b/engines/tinsel/font.cpp
@@ -119,9 +119,9 @@ void FettleFontPal(SCNHANDLE fontPal) {
pImg->hImgPal = 0;
if (TinselV2 && SysVar(SV_TAGCOLOUR)) {
- static COLORREF c = GetActorRGB(-1); // FIXME: Avoid non-const global vars
+ const COLORREF c = GetActorRGB(-1);
SetTagColorRef(c);
- UpdateDACqueue(SysVar(SV_TAGCOLOUR), 1, &c);
+ UpdateDACqueue(SysVar(SV_TAGCOLOUR), c);
}
}