[Scummvm-git-logs] scummvm master -> 6a695e89570a8f1c9d4fa36e759e388292f5d86d

bluegr noreply at scummvm.org
Fri Oct 27 07:45:25 UTC 2023


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:
6a695e8957 BURIED: Fix Castle Galliard Wall Explosion Timer Bug


Commit: 6a695e89570a8f1c9d4fa36e759e388292f5d86d
    https://github.com/scummvm/scummvm/commit/6a695e89570a8f1c9d4fa36e759e388292f5d86d
Author: Kartik Sharma (77577353+kartiksharmakk at users.noreply.github.com)
Date: 2023-10-27T10:45:20+03:00

Commit Message:
BURIED: Fix Castle Galliard Wall Explosion Timer Bug

Changed paths:
    engines/buried/environ/castle.cpp


diff --git a/engines/buried/environ/castle.cpp b/engines/buried/environ/castle.cpp
index 6c1a2680863..382f68edc97 100644
--- a/engines/buried/environ/castle.cpp
+++ b/engines/buried/environ/castle.cpp
@@ -181,11 +181,9 @@ ExplodingWallSafeDistance::ExplodingWallSafeDistance(BuriedEngine *vm, Window *v
 		SceneBase(vm, viewWindow, sceneStaticData, priorLocation) {
 	_timerStarted = false;
 
-	if (((SceneViewWindow *)viewWindow)->getGlobalFlags().cgMWCatapultData == 0) {
-		((SceneViewWindow *)viewWindow)->getGlobalFlags().cgMWCatapultData = g_system->getMillis();
-		_vm->_sound->playSoundEffect(_vm->getFilePath(_staticData.location.timeZone, _staticData.location.environment, 13), 127, false, true);
-	}
-
+	((SceneViewWindow *)viewWindow)->getGlobalFlags().cgMWCatapultData = g_system->getMillis();
+	_vm->_sound->playSoundEffect(_vm->getFilePath(_staticData.location.timeZone, _staticData.location.environment, 13), 127, false, true);
+	
 	_walkthrough = ((SceneViewWindow *)viewWindow)->getGlobalFlags().generalWalkthroughMode == 1;
 }
 




More information about the Scummvm-git-logs mailing list