diff options
Diffstat (limited to 'engines/lastexpress/debug.cpp')
-rw-r--r-- | engines/lastexpress/debug.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/lastexpress/debug.cpp b/engines/lastexpress/debug.cpp index a6cecc7408..dec57a4c39 100644 --- a/engines/lastexpress/debug.cpp +++ b/engines/lastexpress/debug.cpp @@ -487,10 +487,7 @@ bool Debugger::cmdPlaySeq(int argc, const char **argv) { // Handle right-click to interrupt sequence Common::Event ev; - if (!_engine->getEventManager()->pollEvent(ev)) - break; - - if (ev.type == Common::EVENT_RBUTTONUP) + if (_engine->getEventManager()->pollEvent(ev) && ev.type == Common::EVENT_RBUTTONUP) break; _engine->_system->delayMillis(175); |