mirror of
https://github.com/zeldaret/tmc
synced 2026-05-29 08:43:06 -04:00
3b87c04162
To define ENT_DEPRECATED in files that still need the old entity structs.
25 lines
504 B
C
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);
|
|
}
|
|
}
|