mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- reset counter in SetMove
This commit is contained in:
parent
b9ff86a746
commit
aee26c2637
1 changed files with 1 additions and 0 deletions
|
@ -741,6 +741,7 @@ void Duke_SetMove(DDukeActor* self, int intname, int flags)
|
|||
int ndx = LookupMove(self->GetClass(), FName(ENamedName(intname)));
|
||||
self->curMove = &moves[ndx];
|
||||
self->spr.hitag = flags;
|
||||
self->counter = 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(DDukeActor, SetMove, Duke_SetMove)
|
||||
|
|
Loading…
Reference in a new issue