diff options
author | Travis Howell | 2007-05-15 11:32:11 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-15 11:32:11 +0000 |
commit | dc9d36ea4a56aaa285de2059ad34120d549c0831 (patch) | |
tree | 2c0711d897111c77f02ed390c3690af448569cde /engines/agos | |
parent | ee0cb9ee2df14520a40b7b44c188c63446e3efa9 (diff) | |
download | scummvm-rg350-dc9d36ea4a56aaa285de2059ad34120d549c0831.tar.gz scummvm-rg350-dc9d36ea4a56aaa285de2059ad34120d549c0831.tar.bz2 scummvm-rg350-dc9d36ea4a56aaa285de2059ad34120d549c0831.zip |
Fix fade regressions.
svn-id: r26844
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/vga_ww.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/agos/vga_ww.cpp b/engines/agos/vga_ww.cpp index 087623e1cc..3acf1bba61 100644 --- a/engines/agos/vga_ww.cpp +++ b/engines/agos/vga_ww.cpp @@ -179,12 +179,17 @@ void AGOSEngine::vc62_fastFadeOut() { memcpy(_videoBuf1, _currentPalette, _fastFadeCount * 4); - if ((getGameType() == GType_FF || getGameType() == GType_PP) && !getBitFlag(75)) { - fadeCount = 32; - fadeSize = 8; + if (getGameType() == GType_FF || getGameType() == GType_PP) { + if (getBitFlag(75)) { + fadeCount = 4; + fadeSize = 64; + } else { + fadeCount = 32; + fadeSize = 8; + } } else { - fadeCount = 4; - fadeSize = 64; + fadeCount = 64; + fadeSize = 4; } for (i = fadeCount; i != 0; --i) { |