- reset counter in SetMove

This commit is contained in:
Christoph Oelckers 2023-05-01 10:50:23 +02:00
parent b9ff86a746
commit aee26c2637

View file

@ -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)