diff options
author | Eugene Sandulenko | 2016-01-31 16:10:17 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:57 +0100 |
commit | efc7bf645161a16799a6608a954ab518fa8d78b8 (patch) | |
tree | 8f1b5898cc9ed059ff71db6e6913f669f196cbdd /engines/wage | |
parent | e41c3c50de4e1b077806b605466b5f01c9cb42c5 (diff) | |
download | scummvm-rg350-efc7bf645161a16799a6608a954ab518fa8d78b8.tar.gz scummvm-rg350-efc7bf645161a16799a6608a954ab518fa8d78b8.tar.bz2 scummvm-rg350-efc7bf645161a16799a6608a954ab518fa8d78b8.zip |
WAGE: FIx crash in amot
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/wage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 038bef5ed6..103be5de79 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -292,7 +292,7 @@ void WageEngine::performInitialSetup() { if (!chr->_initialScene.equalsIgnoreCase(STORAGESCENE)) { Common::String key = chr->_initialScene; key.toLowercase(); - if (_world->_scenes.contains(key)) { + if (_world->_scenes.contains(key) && _world->_scenes[key] != NULL) { _world->move(chr, _world->_scenes[key]); if (chr->_playerCharacter) |