mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +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
670d975a33
commit
f6bb33787b
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