[Scummvm-cvs-logs] scummvm master -> e8be5ba95ba8df20001671af7a007fe023f60e21

lordhoto lordhoto at gmail.com
Sun Apr 10 19:23:50 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e8be5ba95b TINSEL: Make the cdFlags array in drives.cpp static again.


Commit: e8be5ba95ba8df20001671af7a007fe023f60e21
    https://github.com/scummvm/scummvm/commit/e8be5ba95ba8df20001671af7a007fe023f60e21
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-04-10T10:22:06-07:00

Commit Message:
TINSEL: Make the cdFlags array in drives.cpp static again.

Changed paths:
    engines/tinsel/drives.cpp



diff --git a/engines/tinsel/drives.cpp b/engines/tinsel/drives.cpp
index e6f5f1e..ab606f3 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'])






More information about the Scummvm-git-logs mailing list