Skip to content

Commit

Permalink
TINSEL: Make the cdFlags array in drives.cpp static again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Apr 10, 2011
1 parent cd085b1 commit e8be5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tinsel/drives.cpp
Expand Up @@ -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'])
Expand Down

0 comments on commit e8be5ba

Please sign in to comment.