Files
tmc/src/npc/npc4F.c
T
octorock 3b87c04162 Invert NENT_DEPRECATED define
To define ENT_DEPRECATED in files that still need the old entity structs.
2023-12-30 18:30:00 +01:00

19 lines
359 B
C

/**
* @file npc4F.c
* @ingroup NPCs
*
* @brief NPC 4F
*/
#include "npc.h"
void NPC4F(Entity* this) {
if (this->action == 0) {
this->action++;
InitAnimationForceUpdate(this, this->type);
}
UpdateAnimationSingleFrame(this);
if (this->frameDuration == 0xfe) {
this->frameDuration = (Random() & 0x1f) + 0x14;
}
}