mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +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]);
|
const char *type = FBehavior::StaticLookupString(args[1]);
|
||||||
int amount = argCount >= 3? args[2] : -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);
|
const PClass *cls = PClass::FindClass(type);
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
if (cls != NULL)
|
if (cls != NULL)
|
||||||
|
|
Loading…
Reference in a new issue