diff options
author | Filippos Karapetis | 2015-07-04 01:21:59 +0300 |
---|---|---|
committer | Filippos Karapetis | 2015-07-04 01:51:46 +0300 |
commit | 42480543044c18f955be5a342eda758f3716b3e5 (patch) | |
tree | 2d8fbbb141d98d4beb0b8f8e13ba6091115ff2ca /engines/mads/phantom/phantom_scenes.cpp | |
parent | ca6612e1512ae46f543dbd308db7b6849bb050ab (diff) | |
download | scummvm-rg350-42480543044c18f955be5a342eda758f3716b3e5.tar.gz scummvm-rg350-42480543044c18f955be5a342eda758f3716b3e5.tar.bz2 scummvm-rg350-42480543044c18f955be5a342eda758f3716b3e5.zip |
MADS: V2: The intro scenes do not have any codes
Diffstat (limited to 'engines/mads/phantom/phantom_scenes.cpp')
-rw-r--r-- | engines/mads/phantom/phantom_scenes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mads/phantom/phantom_scenes.cpp b/engines/mads/phantom/phantom_scenes.cpp index c2cec47bd9..afacde7a90 100644 --- a/engines/mads/phantom/phantom_scenes.cpp +++ b/engines/mads/phantom/phantom_scenes.cpp @@ -169,6 +169,10 @@ Common::String PhantomScene::formAnimName(char sepChar, int suffixNum) { /*------------------------------------------------------------------------*/ void SceneInfoPhantom::loadCodes(MSurface &depthSurface, int variant) { + // The intro scenes do not have any codes + if (_sceneId >= 900) + return; + Common::String ext = Common::String::format(".WW%d", variant); File f(Resources::formatName(RESPREFIX_RM, _sceneId, ext)); MadsPack codesPack(&f); |