aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/charset.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-17 01:04:14 +0000
committerTravis Howell2006-10-17 01:04:14 +0000
commitd41192d4fcc23e058a45565c8e637225cfe19ae8 (patch)
tree8301c28ad788ca992e3d7747d552ce10a42db074 /engines/agos/charset.cpp
parente2814e0368d159379c3b25170a75ea09b8d9d838 (diff)
downloadscummvm-rg350-d41192d4fcc23e058a45565c8e637225cfe19ae8.tar.gz
scummvm-rg350-d41192d4fcc23e058a45565c8e637225cfe19ae8.tar.bz2
scummvm-rg350-d41192d4fcc23e058a45565c8e637225cfe19ae8.zip
Add minor differences in windows code of Elvira 1/2/WW
svn-id: r24356
Diffstat (limited to 'engines/agos/charset.cpp')
-rw-r--r--engines/agos/charset.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp
index c326b3ba0c..56b442dcee 100644
--- a/engines/agos/charset.cpp
+++ b/engines/agos/charset.cpp
@@ -383,8 +383,13 @@ void AGOSEngine::showmessage_print_char(byte chr) {
}
void AGOSEngine::openTextWindow() {
- if (_textWindow)
+ if (_textWindow) {
+ if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) {
+ if (_textWindow->flags & 0x80)
+ clearWindow(_textWindow);
+ }
return;
+ }
if (getGameType() == GType_FF || getGameType() == GType_PP)
_textWindow = openWindow(64, 96, 384, 172, 1, 0, 15);