aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/cycle.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-01 16:13:19 +0100
committerMartin Kiewitz2016-02-01 16:13:19 +0100
commit6749f22981baa0d8d7b53711f2611cbe90b99e93 (patch)
tree5579dc8e2ade693fb60cf093c931c374fff4932b /engines/agi/cycle.cpp
parentf86d68d214f01b49045b7bf40d932ad6f537c03c (diff)
downloadscummvm-rg350-6749f22981baa0d8d7b53711f2611cbe90b99e93.tar.gz
scummvm-rg350-6749f22981baa0d8d7b53711f2611cbe90b99e93.tar.bz2
scummvm-rg350-6749f22981baa0d8d7b53711f2611cbe90b99e93.zip
AGI: Remove _game.hasPrompt, no longer needed
Diffstat (limited to 'engines/agi/cycle.cpp')
-rw-r--r--engines/agi/cycle.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index cff1cd970b..dd31fee887 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -379,14 +379,6 @@ int AgiEngine::playGame() {
if (_passedPlayTimeCycles >= getVar(VM_VAR_TIME_DELAY)) {
_passedPlayTimeCycles = 0;
- if (!_game.hasPrompt && _game.inputMode == INPUTMODE_NORMAL) {
- _text->promptRedraw();
- _game.hasPrompt = 1;
- } else if (_game.hasPrompt && _game.inputMode == INPUTMODE_NONE) {
- _text->promptRedraw();
- _game.hasPrompt = 0;
- }
-
interpretCycle();
// Check if the user has asked to load a game from the command line
@@ -503,7 +495,6 @@ int AgiEngine::runGame() {
setVar(VM_VAR_MAX_INPUT_CHARACTERS, 38);
_game.inputMode = INPUTMODE_NONE;
_text->promptDisable();
- _game.hasPrompt = 0;
_game.state = STATE_RUNNING;
ec = playGame();