aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/global.cpp')
-rw-r--r--engines/agi/global.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/global.cpp b/engines/agi/global.cpp
index 23256f27fb..bd7e4e490f 100644
--- a/engines/agi/global.cpp
+++ b/engines/agi/global.cpp
@@ -21,6 +21,7 @@
*/
#include "common/config-manager.h"
+#include "audio/mixer.h"
#include "agi/agi.h"
#include "agi/graphics.h"
@@ -246,7 +247,7 @@ void AgiEngine::setVarSecondsTrigger(byte newSeconds) {
// This is also called in the main loop, because the game needs to be sync'd to 20 cycles per second
void AgiEngine::inGameTimerUpdate() {
uint32 curPlayTimeMilliseconds = inGameTimerGet();
- uint32 curPlayTimeCycles = curPlayTimeMilliseconds / 50;
+ uint32 curPlayTimeCycles = curPlayTimeMilliseconds / 25;
if (curPlayTimeCycles == _lastUsedPlayTimeInCycles) {
// No difference, skip updating