aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2002-03-31 09:06:51 +0000
committerNicolas Bacca2002-03-31 09:06:51 +0000
commit73b8043302dfae00ce3292c6454c68074fbaf761 (patch)
tree4f2b8cbd0fd7a2ae225a268721e4ba9a0d5d7ad7
parent8780d0e5d656b543567d7e3c0654b2ab16f83c02 (diff)
downloadscummvm-rg350-73b8043302dfae00ce3292c6454c68074fbaf761.tar.gz
scummvm-rg350-73b8043302dfae00ce3292c6454c68074fbaf761.tar.bz2
scummvm-rg350-73b8043302dfae00ce3292c6454c68074fbaf761.zip
Fix charset background problem in VC
svn-id: r3844
-rw-r--r--resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/resource.cpp b/resource.cpp
index 274a27629c..438f90e887 100644
--- a/resource.cpp
+++ b/resource.cpp
@@ -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");