mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
Merge branch 'maint'
This commit is contained in:
commit
9ebf345fec
1 changed files with 1 additions and 1 deletions
|
@ -5242,7 +5242,7 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
|||
{
|
||||
const char *type = FBehavior::StaticLookupString(args[1]);
|
||||
int amount = argCount >= 3? args[2] : -1;
|
||||
int chance = argCount >= 4? args[3] : -1;
|
||||
int chance = argCount >= 4? args[3] : 256;
|
||||
const PClass *cls = PClass::FindClass(type);
|
||||
int cnt = 0;
|
||||
if (cls != NULL)
|
||||
|
|
Loading…
Reference in a new issue