aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-06-08 02:00:34 +0000
committerFilippos Karapetis2008-06-08 02:00:34 +0000
commitee1dfa3f3d75fbf28453b6cb3f55166ce88dbe2b (patch)
treeac2e08b57a205569cd80c6b9936d1e96f739f19a
parent5bdcec23d845082e8a21da6629eb66bbf3f69a69 (diff)
downloadscummvm-rg350-ee1dfa3f3d75fbf28453b6cb3f55166ce88dbe2b.tar.gz
scummvm-rg350-ee1dfa3f3d75fbf28453b6cb3f55166ce88dbe2b.tar.bz2
scummvm-rg350-ee1dfa3f3d75fbf28453b6cb3f55166ce88dbe2b.zip
Initialize _charMap to avoid crash when drascula.dat doesn't exist
svn-id: r32607
-rw-r--r--engines/drascula/drascula.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 93e46d4ea3..a30698a3f0 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -102,6 +102,7 @@ int DrasculaEngine::init() {
_lang = 0;
}
+ _charMap = 0;
if (!loadDrasculaDat())
return 1;