aboutsummaryrefslogtreecommitdiff
path: root/v4
diff options
context:
space:
mode:
authorNicolas Bacca2002-04-04 23:02:02 +0000
committerNicolas Bacca2002-04-04 23:02:02 +0000
commit2e288912a2878bde67bc1985efa76e4b10f1a439 (patch)
tree38f2b26df5245f697ed3901db27f4911301c8361 /v4
parentcbad525cd30e266f23cfac8d974650cc52517119 (diff)
downloadscummvm-rg350-2e288912a2878bde67bc1985efa76e4b10f1a439.tar.gz
scummvm-rg350-2e288912a2878bde67bc1985efa76e4b10f1a439.tar.bz2
scummvm-rg350-2e288912a2878bde67bc1985efa76e4b10f1a439.zip
Revenge of the son of the charset fix
svn-id: r3862
Diffstat (limited to 'v4')
-rw-r--r--v4/resource_v4.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4/resource_v4.cpp b/v4/resource_v4.cpp
index f4d41895d5..d2e63e8221 100644
--- a/v4/resource_v4.cpp
+++ b/v4/resource_v4.cpp
@@ -26,6 +26,8 @@
void Scumm_v4::loadCharset(int no) {
uint32 size;
+ memset(_charsetData, 0, sizeof(_charsetData));
+
checkRange(4 ,0 ,no , "Loading illegal charset %d");
openRoom(-1);