- Added A_SetDamageType.
SVN r4180 (trunk)
This commit is contained in:
parent
fb2f201c8b
commit
8410ac760a
2 changed files with 16 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue