diff options
author | Eugene Sandulenko | 2010-06-15 10:27:42 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:27:42 +0000 |
commit | 316e171e67ddf01f9ae36b06c075b7d2ea46ad3c (patch) | |
tree | fb949fd5f595387246eef597221946f714ac1f01 /engines | |
parent | 14205bdbc0aaeea34824c8f2dc43ec273955c7fd (diff) | |
download | scummvm-rg350-316e171e67ddf01f9ae36b06c075b7d2ea46ad3c.tar.gz scummvm-rg350-316e171e67ddf01f9ae36b06c075b7d2ea46ad3c.tar.bz2 scummvm-rg350-316e171e67ddf01f9ae36b06c075b7d2ea46ad3c.zip |
AGI: Fix bug #2959630.
Bug #2959630: "LSL1: Security in blackjack" fixed by partially
reverting r41241. Do not clear prompt without on disabling input.
svn-id: r49732
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/text.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp index 5689b691a9..f656abfa0c 100644 --- a/engines/agi/text.cpp +++ b/engines/agi/text.cpp @@ -656,11 +656,8 @@ void AgiEngine::writePrompt() { int l, fg, bg, pos; int promptLength = strlen(agiSprintf(_game.strings[0])); - if (!_game.inputEnabled || _game.inputMode != INPUT_NORMAL) { - clearPrompt(); - + if (!_game.inputEnabled || _game.inputMode != INPUT_NORMAL) return; - } l = _game.lineUserInput; fg = _game.colorFg; |