diff options
author | Filippos Karapetis | 2008-06-02 04:39:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-06-02 04:39:43 +0000 |
commit | cb5424810c33ac40cc23562599a339cc71fbd4ad (patch) | |
tree | c5b3a9873f987f3205432517c8e6af67e209facf | |
parent | 0ca4ff8840928ec0e3a9dcff73c104c54061b9ad (diff) | |
download | scummvm-rg350-cb5424810c33ac40cc23562599a339cc71fbd4ad.tar.gz scummvm-rg350-cb5424810c33ac40cc23562599a339cc71fbd4ad.tar.bz2 scummvm-rg350-cb5424810c33ac40cc23562599a339cc71fbd4ad.zip |
Show the 3 pictures in carga_escoba after the initial file is loaded (so as not to attempt and reopen the ARJ file)
svn-id: r32483
-rw-r--r-- | engines/drascula/drascula.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 7e6b8e8ba1..6f84badfd9 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -875,10 +875,6 @@ void DrasculaEngine::carga_escoba(const char *nom_fich) { getStringFromLine(buffer, size, pant3); getStringFromLine(buffer, size, pant4); - loadAndDecompressPic(pant2, extraSurface, 1); - loadAndDecompressPic(pant1, frontSurface, 1); - loadAndDecompressPic(pant4, backSurface, 1); - strcpy(menuBackground, pant4); } @@ -917,6 +913,12 @@ void DrasculaEngine::carga_escoba(const char *nom_fich) { } _arj.close(); + if (currentChapter == 2 && martin != 0) { + loadAndDecompressPic(pant2, extraSurface, 1); + loadAndDecompressPic(pant1, frontSurface, 1); + loadAndDecompressPic(pant4, backSurface, 1); + } + if (currentChapter == 2) { if (martin == 0) { stepX = PASO_HARE_X; |