diff options
author | Filippos Karapetis | 2008-02-22 09:13:27 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-02-22 09:13:27 +0000 |
commit | 93753d2f3bbd36e92bf8b1bc46f8a1775a01afa6 (patch) | |
tree | 85a106bcfafadd0a21aaed1556b723e4704d2711 /engines/agi | |
parent | a7e7dfe122558d301fd57dceb6cafc0273910c62 (diff) | |
download | scummvm-rg350-93753d2f3bbd36e92bf8b1bc46f8a1775a01afa6.tar.gz scummvm-rg350-93753d2f3bbd36e92bf8b1bc46f8a1775a01afa6.tar.bz2 scummvm-rg350-93753d2f3bbd36e92bf8b1bc46f8a1775a01afa6.zip |
Fixed some issues with the previous commit, bug #1893564 should be fixed now without affecting anything else
svn-id: r30917
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/text.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index c9deef6eb0..dca745ffc5 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -600,9 +600,13 @@ void AgiEngine::writeStatus() { } if (!_game.statusLine) { - int l = _game.lineStatus + _game.lineUserInput; - clearLines(l, l, 0); - flushLines(l, l); + clearLines(_game.lineStatus, _game.lineStatus, 0); + flushLines(_game.lineStatus, _game.lineStatus); + + // Clear the user input line as well when clearing the status line + // Fixes bug #1893564 - AGI: Texts messed out in Naturette 1 + clearLines(_game.lineUserInput, _game.lineUserInput, 0); + flushLines(_game.lineUserInput, _game.lineUserInput); return; } |