[Scummvm-cvs-logs] scummvm master -> 896bf83ddc54d69e81830ee767d24fe9dbbc053f

m-kiewitz m_kiewitz at users.sourceforge.net
Mon Feb 1 15:51:11 CET 2016


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:
896bf83ddc AGI: Fix pause command effectively freezing game


Commit: 896bf83ddc54d69e81830ee767d24fe9dbbc053f
    https://github.com/scummvm/scummvm/commit/896bf83ddc54d69e81830ee767d24fe9dbbc053f
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-01T15:52:18+01:00

Commit Message:
AGI: Fix pause command effectively freezing game

In game timer wasn't resumed, which caused no more cycles to
get executed.

Changed paths:
    engines/agi/op_cmd.cpp



diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index f36090d..2757807 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1793,7 +1793,7 @@ void cmdPause(AgiGame *state, uint8 *parameter) {
 
 		state->_vm->_systemUI->pauseDialog();
 
-		vm->inGameTimerPause();
+		vm->inGameTimerResume();
 		state->clockEnabled = originalClockState;
 	}
 }






More information about the Scummvm-git-logs mailing list