[Scummvm-git-logs] scummvm master -> f9429241cb83e67cb221026745f818ee9d34bc5b

antoniou79 noreply at scummvm.org
Fri Jan 26 21:34:32 UTC 2024


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:
f9429241cb BLADERUNNER: CUTCONTENT: Fix voice over calls in NR02


Commit: f9429241cb83e67cb221026745f818ee9d34bc5b
    https://github.com/scummvm/scummvm/commit/f9429241cb83e67cb221026745f818ee9d34bc5b
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2024-01-26T23:32:28+02:00

Commit Message:
BLADERUNNER: CUTCONTENT: Fix voice over calls in NR02

For Gordo's lighter

Changed paths:
    engines/bladerunner/script/scene/nr02.cpp


diff --git a/engines/bladerunner/script/scene/nr02.cpp b/engines/bladerunner/script/scene/nr02.cpp
index eb961ac291b..e618fb338d0 100644
--- a/engines/bladerunner/script/scene/nr02.cpp
+++ b/engines/bladerunner/script/scene/nr02.cpp
@@ -132,11 +132,11 @@ bool SceneScriptNR02::ClickedOnItem(int itemId, bool a2) {
 						// NOTE 2 As of yet, we load all TLK resources in cut content mode (see Chapters::enterChapter()),
 						// so the check for specific chapters is redundantly restrictive here.
 						// TODO maybe we can remove it, if we're not concerned about minimum resource usage in cut content mode
-						Actor_Voice_Over(kActorVoiceOver, 1450);
+						Actor_Voice_Over(1450, kActorVoiceOver);
 					} else {
 						// TLK0A
 						// Re-use quote from Zuben's death (picking up his photo from the Rep Squad)
-						Actor_Voice_Over(kActorVoiceOver, 350);
+						Actor_Voice_Over(350, kActorVoiceOver);
 					}
 					// NOTE this is only in TLK02
 					// so it should be for Act 2 and 3 only (The lighter is normally spawned in Act 3)
@@ -144,8 +144,8 @@ bool SceneScriptNR02::ClickedOnItem(int itemId, bool a2) {
 					// so the check for specific chapters is redundantly restrictive here.
 					// TODO maybe we can remove it, if we're not concerned about minimum resource usage in cut content mode
 					if (Global_Variable_Query(kVariableChapter) == 2 || Global_Variable_Query(kVariableChapter) == 3) {
-						Actor_Voice_Over(kActorVoiceOver, 1460);
-						Actor_Voice_Over(kActorVoiceOver, 1470);
+						Actor_Voice_Over(1460, kActorVoiceOver);
+						Actor_Voice_Over(1470, kActorVoiceOver);
 					}
 				}
 				Item_Pickup_Spin_Effect(kModelAnimationGordosLighterReplicant, 214, 380);




More information about the Scummvm-git-logs mailing list