Updated for scripting branch merge.

This commit is contained in:
MajorCooke 2016-02-04 22:41:02 -06:00
commit 35b7a5ccc1
11 changed files with 61 additions and 10 deletions

View file

@ -544,6 +544,17 @@ DEFINE_PROPERTY(painthreshold, I, Actor)
defaults->PainThreshold = id;
}
//==========================================================================
//
//==========================================================================
DEFINE_PROPERTY(chasethreshold, I, Actor)
{
PROP_INT_PARM(id, 0);
if (id < 0)
I_Error("ChaseThreshold cannot be negative.");
defaults->DefThreshold = id;
}
//==========================================================================
//
//==========================================================================