mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: removed startTime from the wrong function internally.
This commit is contained in:
parent
3d3a29979b
commit
9e5444f8ae
1 changed files with 3 additions and 3 deletions
|
@ -179,8 +179,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_PlaySound, A_PlaySound)
|
||||||
PARAM_FLOAT(attenuation);
|
PARAM_FLOAT(attenuation);
|
||||||
PARAM_BOOL(local);
|
PARAM_BOOL(local);
|
||||||
PARAM_FLOAT(pitch);
|
PARAM_FLOAT(pitch);
|
||||||
PARAM_FLOAT(startTime);
|
A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch, 0.0f);
|
||||||
A_PlaySound(self, soundid, channel, volume, looping, attenuation, local, pitch, startTime);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,7 +192,8 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_StartSound, A_StartSound)
|
||||||
PARAM_FLOAT(volume);
|
PARAM_FLOAT(volume);
|
||||||
PARAM_FLOAT(attenuation);
|
PARAM_FLOAT(attenuation);
|
||||||
PARAM_FLOAT(pitch);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue