- Removed 'eval' modifier from DECORATE. All int, float and bool parameters are
'eval' now by default. SVN r1155 (trunk)
This commit is contained in:
parent
8655d027da
commit
c02253eef2
8 changed files with 63 additions and 72 deletions
|
|
@ -210,10 +210,10 @@ static void DoAttack (AActor *self, bool domelee, bool domissile)
|
|||
|
||||
if (index > 0)
|
||||
{
|
||||
MeleeDamage=StateParameters[index];
|
||||
MeleeDamage=EvalExpressionI(StateParameters[index], self);
|
||||
MeleeSound=StateParameters[index+1];
|
||||
MissileName=(ENamedName)StateParameters[index+2];
|
||||
MissileHeight=StateParameters[index+3];
|
||||
MissileHeight=fixed_t(EvalExpressionF(StateParameters[index+3], self)/65536.f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue