Fix merge for ACS's DropItem

This commit is contained in:
Randy Heit 2013-08-21 22:28:53 -05:00
parent 3e4678765b
commit fd9c450c6e

View file

@ -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)
{