From d41192d4fcc23e058a45565c8e637225cfe19ae8 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 17 Oct 2006 01:04:14 +0000 Subject: Add minor differences in windows code of Elvira 1/2/WW svn-id: r24356 --- engines/agos/charset.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/agos/charset.cpp') 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); -- cgit v1.2.3