From e8be5ba95ba8df20001671af7a007fe023f60e21 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 10 Apr 2011 19:22:06 +0200 Subject: [PATCH] TINSEL: Make the cdFlags array in drives.cpp static again. --- engines/tinsel/drives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/tinsel/drives.cpp b/engines/tinsel/drives.cpp index e6f5f1ed0b9c..ab606f3159c9 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'])