- ported over Nash's startTime for A_StartSound

This commit is contained in:
Rachael Alexanderson 2020-03-01 23:45:11 -05:00 committed by Christoph Oelckers
commit 1b80b7bf2f
10 changed files with 53 additions and 40 deletions

View file

@ -179,7 +179,8 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_PlaySound, A_PlaySound)
PARAM_FLOAT(attenuation);
PARAM_BOOL(local);
PARAM_FLOAT(pitch);
A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch);
PARAM_FLOAT(startTime);
A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch, startTime);
return 0;
}
@ -192,7 +193,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);
PARAM_FLOAT(startTime);
A_StartSound(self, soundid, channel, flags, volume, attenuation, pitch, startTime);
return 0;
}