mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 13:11:48 +00:00
Fix merge for ACS's DropItem
This commit is contained in:
parent
3e4678765b
commit
fd9c450c6e
1 changed files with 1 additions and 1 deletions
|
@ -5238,7 +5238,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] : 256;
|
||||
const PClass *cls = PClass::FindClass(type);
|
||||
PClassActor *cls = PClass::FindActor(type);
|
||||
int cnt = 0;
|
||||
if (cls != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue