aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-10 19:22:06 +0200
committerJohannes Schickel2011-04-10 19:22:06 +0200
commite8be5ba95ba8df20001671af7a007fe023f60e21 (patch)
treefc6b43656d730a88cc4200590bca7352c8808918 /engines
parentcd085b1ae889dfa12d1b525810b218342c61a7a6 (diff)
downloadscummvm-rg350-e8be5ba95ba8df20001671af7a007fe023f60e21.tar.gz
scummvm-rg350-e8be5ba95ba8df20001671af7a007fe023f60e21.tar.bz2
scummvm-rg350-e8be5ba95ba8df20001671af7a007fe023f60e21.zip
TINSEL: Make the cdFlags array in drives.cpp static again.
Diffstat (limited to 'engines')
-rw-r--r--engines/tinsel/drives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/drives.cpp b/engines/tinsel/drives.cpp
index e6f5f1ed0b..ab606f3159 100644
--- a/engines/tinsel/drives.cpp
+++ b/engines/tinsel/drives.cpp
@@ -74,7 +74,7 @@ int GetCurrentCD() {
return (currentCD - '1' + 1);
}
-const uint32 cdFlags[] = { fCd1, fCd2, fCd3, fCd4, fCd5, fCd6, fCd7, fCd8 };
+static const uint32 cdFlags[] = { fCd1, fCd2, fCd3, fCd4, fCd5, fCd6, fCd7, fCd8 };
void SetCD(int flags) {
if (flags & cdFlags[currentCD - '1'])