LASTEXPRESS: Fix unchecked return value (CID1003854)
This commit is contained in:
parent
20745e0b3e
commit
9714cce46f
1 changed files with 3 additions and 1 deletions
|
@ -598,7 +598,9 @@ bool Debugger::cmdPlaySbe(int argc, const char **argv) {
|
|||
|
||||
// Handle right-click to interrupt sequence
|
||||
Common::Event ev;
|
||||
_engine->getEventManager()->pollEvent(ev);
|
||||
if (!_engine->getEventManager()->pollEvent(ev))
|
||||
break;
|
||||
|
||||
if (ev.type == Common::EVENT_RBUTTONUP)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue