From 2e288912a2878bde67bc1985efa76e4b10f1a439 Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Thu, 4 Apr 2002 23:02:02 +0000 Subject: Revenge of the son of the charset fix svn-id: r3862 --- v4/resource_v4.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'v4/resource_v4.cpp') 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); -- cgit v1.2.3