mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
MTROPOLIS: Fix pause event regression
This commit is contained in:
committed by
Eugene Sandulenko
parent
b8e510f9e4
commit
d7a8f4e674
@@ -2917,7 +2917,7 @@ VThreadState Structural::consumeCommand(Runtime *runtime, const Common::SharedPt
|
||||
return kVThreadReturn;
|
||||
}
|
||||
if (Event::create(EventIDs::kPause, 0).respondsTo(msg->getEvent())) {
|
||||
if (_paused) {
|
||||
if (!_paused) {
|
||||
_paused = true;
|
||||
onPauseStateChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user