diff options
-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; } |