From 9e5444f8ae48564ab6e1cc24f19ec561a0f7ea29 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 2 Mar 2020 07:15:30 -0500 Subject: [PATCH] - fixed: removed startTime from the wrong function internally. --- src/scripting/vmthunks_actors.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripting/vmthunks_actors.cpp b/src/scripting/vmthunks_actors.cpp index 31c4ab7b4..bf058d479 100644 --- a/src/scripting/vmthunks_actors.cpp +++ b/src/scripting/vmthunks_actors.cpp @@ -179,8 +179,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_PlaySound, A_PlaySound) PARAM_FLOAT(attenuation); PARAM_BOOL(local); PARAM_FLOAT(pitch); - PARAM_FLOAT(startTime); - A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch, startTime); + A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch, 0.0f); return 0; } @@ -193,7 +192,8 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_StartSound, A_StartSound) PARAM_FLOAT(volume); PARAM_FLOAT(attenuation); PARAM_FLOAT(pitch); - A_StartSound(self, soundid, channel, flags, volume, attenuation, pitch, 0.0f); + PARAM_FLOAT(startTime); + A_StartSound(self, soundid, channel, flags, volume, attenuation, pitch, startTime); return 0; }