[Scummvm-git-logs] scummvm master -> 7879e9cd66770fcc7516d03bcb1a82b213ce57c1

OMGPizzaGuy 48367439+OMGPizzaGuy at users.noreply.github.com
Sun Feb 14 23:45:33 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7879e9cd66 ULTIMA8: Ignore process ticks per run when paused


Commit: 7879e9cd66770fcc7516d03bcb1a82b213ce57c1
    https://github.com/scummvm/scummvm/commit/7879e9cd66770fcc7516d03bcb1a82b213ce57c1
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2021-02-14T17:45:18-06:00

Commit Message:
ULTIMA8: Ignore process ticks per run when paused

Changed paths:
    engines/ultima/ultima8/kernel/kernel.cpp


diff --git a/engines/ultima/ultima8/kernel/kernel.cpp b/engines/ultima/ultima8/kernel/kernel.cpp
index 0de700aa17..4f87f0df40 100644
--- a/engines/ultima/ultima8/kernel/kernel.cpp
+++ b/engines/ultima/ultima8/kernel/kernel.cpp
@@ -181,7 +181,7 @@ void Kernel::runProcesses() {
 		}
 		if (!(p->is_terminated() || p->is_suspended()) &&
 		        (!_paused || (p->_flags & Process::PROC_RUNPAUSED)) &&
-				(_tickNum % p->getTicksPerRun() == 0)) {
+				(_paused || _tickNum % p->getTicksPerRun() == 0)) {
 			_runningProcess = p;
 			p->run();
 




More information about the Scummvm-git-logs mailing list