- 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:
alexey.lysiuk 2018-12-09 10:13:43 +02:00 committed by drfrag
parent 60a35e0bb3
commit 9b49c6777d

View file

@ -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);