mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 08:48:13 +00:00
CGE: Bugfix to correctly reset wait timeouts when done
This commit is contained in:
parent
8e531d0da3
commit
3469d1fb04
@ -913,9 +913,15 @@ void SNAIL::RunCom(void) {
|
||||
COM *snc = &SNList[Tail];
|
||||
|
||||
if (! Turbo) { // only for the slower one
|
||||
if (_timerExpiry && (_timerExpiry > g_system->getMillis()))
|
||||
break;
|
||||
else {
|
||||
if (_timerExpiry) {
|
||||
// Delay in progress
|
||||
if (_timerExpiry > g_system->getMillis())
|
||||
// Delay not yet ended
|
||||
break;
|
||||
|
||||
// Delay is finished
|
||||
_timerExpiry = 0;
|
||||
} else {
|
||||
if (TextDelay) {
|
||||
KillText();
|
||||
TextDelay = false;
|
||||
|
Loading…
Reference in New Issue
Block a user