diff options
author | Filippos Karapetis | 2008-06-08 02:00:34 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-06-08 02:00:34 +0000 |
commit | ee1dfa3f3d75fbf28453b6cb3f55166ce88dbe2b (patch) | |
tree | ac2e08b57a205569cd80c6b9936d1e96f739f19a /engines | |
parent | 5bdcec23d845082e8a21da6629eb66bbf3f69a69 (diff) | |
download | scummvm-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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/drascula.cpp | 1 |
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; |