Files
tmc/src/npc/fusionMenuNPC.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

25 lines
504 B
C

/**
* @file fusionMenuNPC.c
* @ingroup NPCs
*
* @brief Fusion Menu NPC
*
* Representation for the NPCs in the fusion menu.
*/
#include "entity.h"
#include "npc.h"
void FusionMenuNPC(Entity* this) {
if (gNPCFunctions[this->subtimer][2] != NULL) {
gNPCFunctions[this->subtimer][2](this);
} else {
DeleteThisEntity();
}
}
void FusionMenuNPC_Head(Entity* this) {
if (gNPCFunctions[this->subtimer][1] != NULL) {
gNPCFunctions[this->subtimer][1](this);
}
}