- fixed: removed startTime from the wrong function internally.

This commit is contained in:
Rachael Alexanderson 2020-03-02 07:15:30 -05:00 committed by Christoph Oelckers
parent 3d3a29979b
commit 9e5444f8ae

View file

@ -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;
}