- Added A_SetDamageType.

SVN r4180 (trunk)
This commit is contained in:
Randy Heit 2013-03-13 04:04:48 +00:00
commit 8410ac760a
2 changed files with 16 additions and 1 deletions

View file

@ -4509,4 +4509,18 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetTics)
ACTION_PARAM_INT(tics_to_set, 0);
self->tics = tics_to_set;
}
}
//==========================================================================
//
// A_SetDamageType
//
//==========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetDamageType)
{
ACTION_PARAM_START(1);
ACTION_PARAM_NAME(damagetype, 0);
self->DamageType = damagetype;
}