- Added jpalomo's A_SetSpeed patch.

This commit is contained in:
MajorCooke 2014-09-20 17:34:57 -05:00
commit 44683657f2
3 changed files with 17 additions and 0 deletions

View file

@ -4980,3 +4980,17 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_DropItem)
P_DropItem(self, spawntype, amount, chance);
}
//==========================================================================
//
// A_SetSpeed
//
//==========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetSpeed)
{
ACTION_PARAM_START(1);
ACTION_PARAM_FIXED(speed, 0);
self->Speed = speed;
}