aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/op_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/op_test.cpp b/engines/agi/op_test.cpp
index ca473fe618..0ffd1f56e6 100644
--- a/engines/agi/op_test.cpp
+++ b/engines/agi/op_test.cpp
@@ -22,6 +22,7 @@
#include "agi/agi.h"
+#include "agi/graphics.h"
#include "agi/opcodes.h"
#include "agi/words.h"
@@ -131,6 +132,7 @@ void condHaveKey(AgiGame *state, AgiEngine *vm, uint8 *p) {
state->testResult = 1;
return;
}
+ vm->_gfx->updateScreen(); // TODO: Solve this in a better way
state->testResult = 0;
}