mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fixed Actor.A_StopSound() native call
Wrong function overload was selected by compiler https://forum.zdoom.org/viewtopic.php?t=62820
This commit is contained in:
parent
60a35e0bb3
commit
9b49c6777d
1 changed files with 6 additions and 1 deletions
|
@ -128,7 +128,12 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, GetPointer, COPY_AAPTR)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_StopSound, S_StopSound)
|
||||
static void NativeStopSound(AActor *actor, int slot)
|
||||
{
|
||||
S_StopSound(actor, slot);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_StopSound, NativeStopSound)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_INT(slot);
|
||||
|
|
Loading…
Reference in a new issue