diff options
author | Travis Howell | 2006-02-16 22:49:26 +0000 |
---|---|---|
committer | Travis Howell | 2006-02-16 22:49:26 +0000 |
commit | c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd (patch) | |
tree | be4e2eb64363104f39995e3d25f836f46d5edf41 /engines | |
parent | 5c98378e84f9a3cdffde2f19e8105e24ed0f9d1a (diff) | |
download | scummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.tar.gz scummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.tar.bz2 scummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.zip |
Fix overlay images not always been marked as compressed in the Feeble Files
svn-id: r20735
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/vga.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index 599a04cdb8..5c322fce65 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -709,13 +709,19 @@ void SimonEngine::vc10_draw() { state.palette); // TODO::Add support for image overlay and scaling in Feeble Files - if (flags & 0x80 && !(state.flags & 0x10)) { - if (state.flags & 1) { - state.flags &= ~1; - state.flags |= 0x10; - } else { + if (getGameType() == GType_FF) { + if (flags & 0x80) { state.flags |= 0x8; } + } else { + if (flags & 0x80 && !(state.flags & 0x10)) { + if (state.flags & 1) { + state.flags &= ~1; + state.flags |= 0x10; + } else { + state.flags |= 0x8; + } + } } if (getGameType() == GType_FF) { |