- fixed: DECORATE didn't pass all needed arguments to FunctionBuildList.AddFunction. Removed the default parameter values from this function's declaration to prevent it from happening again.

This commit is contained in:
Christoph Oelckers 2016-12-03 18:14:07 +01:00
commit 71bda99c3b
6 changed files with 7 additions and 7 deletions

View file

@ -664,7 +664,7 @@ DEFINE_PROPERTY(damage, X, Actor)
defaults->DamageVal = dmgval;
// Only DECORATE can get here with a valid expression.
CreateDamageFunction(bag.Info, defaults, id, true);
CreateDamageFunction(bag.Info, defaults, id, true, bag.Lumpnum);
}
//==========================================================================