- ported over Nash's startTime for A_StartSound
This commit is contained in:
parent
4cf7c6351d
commit
1b80b7bf2f
10 changed files with 53 additions and 40 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue