Patch 623391: Verb shadow fix (MI2)

svn-id: r5150
This commit is contained in:
James Brown 2002-10-15 10:59:53 +00:00
parent dc87eff416
commit 0b43ca86a7
2 changed files with 2 additions and 2 deletions

View File

@ -450,8 +450,6 @@ void Scumm::loadCharset(int no)
if (_gameId == GID_INDY4 && no == 0)
no = 1;
memset(_charsetData, 0, sizeof(_charsetData));
assert(no < (int)sizeof(_charsetData) / 16);
checkRange(_maxCharsets - 1, 1, no, "Loading illegal charset %d");

View File

@ -206,6 +206,8 @@ void Scumm::scummInit()
else
_resourceHeaderSize = 8;
memset(_charsetData, 0, sizeof(_charsetData));
if (!(_features & GF_SMALL_NAMES))
loadCharset(1);