diff options
author | Nicolas Bacca | 2002-04-04 23:02:02 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-04-04 23:02:02 +0000 |
commit | 2e288912a2878bde67bc1985efa76e4b10f1a439 (patch) | |
tree | 38f2b26df5245f697ed3901db27f4911301c8361 /v3 | |
parent | cbad525cd30e266f23cfac8d974650cc52517119 (diff) | |
download | scummvm-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 'v3')
-rw-r--r-- | v3/resource_v3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v3/resource_v3.cpp b/v3/resource_v3.cpp index 8dc6e7b0bb..f498862ad3 100644 --- a/v3/resource_v3.cpp +++ b/v3/resource_v3.cpp @@ -150,6 +150,8 @@ void Scumm_v3::readIndexFile() { void Scumm_v3::loadCharset(int no){ uint32 size; + memset(_charsetData, 0, sizeof(_charsetData)); + checkRange(4 ,0 ,no , "Loading illegal charset %d"); openRoom(-1); |