aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorMax Horn2002-09-19 10:22:32 +0000
committerMax Horn2002-09-19 10:22:32 +0000
commitab1cc774c825c817bcd9c4a11aa07b1fd4286cf5 (patch)
treed4ce11dee2c47bae43b9d7b92ff08172e7683335 /simon
parentb22489cf97066dfa5c93c47fe42510861b0ce02b (diff)
downloadscummvm-rg350-ab1cc774c825c817bcd9c4a11aa07b1fd4286cf5.tar.gz
scummvm-rg350-ab1cc774c825c817bcd9c4a11aa07b1fd4286cf5.tar.bz2
scummvm-rg350-ab1cc774c825c817bcd9c4a11aa07b1fd4286cf5.zip
patch #611450: Simon crash fix
svn-id: r4968
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index a0df8fefac..f1d585c10b 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4117,6 +4117,7 @@ void SimonState::resfile_read(void *dst, uint32 offs, uint32 size)
void SimonState::openGameFile()
{
if (_game != GAME_SIMON1DOS) {
+ _game_file = new File();
_game_file->open(gss->gme_filename, _gameDataPath);
if (_game_file->isOpen() == false)