- 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
parent 670d975a33
commit f6bb33787b

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_SELF_PROLOGUE(AActor);
PARAM_INT(slot); PARAM_INT(slot);