mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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