aboutsummaryrefslogtreecommitdiff
path: root/scummvm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scummvm.cpp')
-rw-r--r--scummvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index c146ca2cbd..30f1b151a3 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1282,7 +1282,7 @@ void Scumm::mainRun()
new_time = _system->get_msecs();
waitForTimer(delta * 15 + last_time - new_time);
last_time = _system->get_msecs();
- if (_gui->_active) {
+ if (_gui->isActive()) {
_gui->loop();
delta = 5;
} else {