Fix charset background problem in VC

svn-id: r3844
This commit is contained in:
Nicolas Bacca 2002-03-31 09:06:51 +00:00
parent 8780d0e5d6
commit 73b8043302

View File

@ -399,6 +399,8 @@ void Scumm::loadCharset(int no) {
byte *ptr;
debug(9, "loadCharset(%d)",no);
memset(_charsetData, 0, sizeof(_charsetData));
checkRange(_maxCharsets-1, 1, no, "Loading illegal charset %d");