diff options
author | Travis Howell | 2007-05-13 08:46:48 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-13 08:46:48 +0000 |
commit | b6672f37a97f30298e51b1d4574eeb75a31da1a6 (patch) | |
tree | 67e64d391ee29aabbb8ce92fe8d91b120043b375 /engines/agos/charset.cpp | |
parent | aa89759a5521bc58cad5375865e0650bced30daf (diff) | |
download | scummvm-rg350-b6672f37a97f30298e51b1d4574eeb75a31da1a6.tar.gz scummvm-rg350-b6672f37a97f30298e51b1d4574eeb75a31da1a6.tar.bz2 scummvm-rg350-b6672f37a97f30298e51b1d4574eeb75a31da1a6.zip |
Fix bugs #941074 and #828860, by switching to graphics renderer code used by earlier (non-Windows) versions of Simon the Sorcerer 1/2.
svn-id: r26825
Diffstat (limited to 'engines/agos/charset.cpp')
-rw-r--r-- | engines/agos/charset.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp index 2dbf8277af..2d37d33aa5 100644 --- a/engines/agos/charset.cpp +++ b/engines/agos/charset.cpp @@ -602,6 +602,12 @@ void AGOSEngine::openTextWindow() { void AGOSEngine::windowPutChar(WindowBlock *window, byte c, byte b) { byte width = 6; + if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) { + if (!(window->flags & 1)) { + haltAnimation(); + } + } + if (c == 12) { clearWindow(window); } else if (c == 13 || c == 10) { |