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

This commit is contained in:
Johannes Schickel 2011-04-10 19:22:06 +02:00
parent cd085b1ae8
commit e8be5ba95b

View File

@ -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'])