npc start

This commit is contained in:
2025-09-14 08:58:54 -05:00
parent 067b0d2e9f
commit 517b39649c
8 changed files with 65 additions and 10 deletions

View File

@@ -12,7 +12,7 @@
entitycallback_t ENTITY_CALLBACKS[ENTITY_TYPE_COUNT] = {
{ NULL, NULL }, // ENTITY_TYPE_NULL
{ playerInit, playerUpdate }, // ENTITY_TYPE_PLAYER
{ NULL, NULL }, // ENTITY_TYPE_NPC
{ npcInit, npcUpdate}, // ENTITY_TYPE_NPC
};
void entityInit(entity_t *entity, const entitytype_t type) {