diff --git a/src/NpChar.cpp b/src/NpChar.cpp index 46c314da..b4f914d9 100644 --- a/src/NpChar.cpp +++ b/src/NpChar.cpp @@ -26,12 +26,7 @@ int gSuperYpos; const char *gPassPixEve = "PXE"; -void InitNpChar(void) -{ - memset(gNPC, 0, sizeof(gNPC)); -} - -void SetUniqueParameter(NPCHAR *npc) +static void SetUniqueParameter(NPCHAR *npc) { int code = npc->code_char; npc->surf = (SurfaceID)gNpcTable[code].surf; @@ -50,6 +45,11 @@ void SetUniqueParameter(NPCHAR *npc) npc->view.bottom = gNpcTable[code].view.bottom * 0x200; } +void InitNpChar(void) +{ + memset(gNPC, 0, sizeof(gNPC)); +} + BOOL LoadEvent(const char *path_event) { int i, n;