Mark a static function as static
Both the Linux and Mac debug data indicate this is static (they both prefix static function names with an extra underscore)
This commit is contained in:
parent
8f49276d5e
commit
ff45da6a0e
1 changed files with 6 additions and 6 deletions
|
@ -26,12 +26,7 @@ int gSuperYpos;
|
||||||
|
|
||||||
const char *gPassPixEve = "PXE";
|
const char *gPassPixEve = "PXE";
|
||||||
|
|
||||||
void InitNpChar(void)
|
static void SetUniqueParameter(NPCHAR *npc)
|
||||||
{
|
|
||||||
memset(gNPC, 0, sizeof(gNPC));
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetUniqueParameter(NPCHAR *npc)
|
|
||||||
{
|
{
|
||||||
int code = npc->code_char;
|
int code = npc->code_char;
|
||||||
npc->surf = (SurfaceID)gNpcTable[code].surf;
|
npc->surf = (SurfaceID)gNpcTable[code].surf;
|
||||||
|
@ -50,6 +45,11 @@ void SetUniqueParameter(NPCHAR *npc)
|
||||||
npc->view.bottom = gNpcTable[code].view.bottom * 0x200;
|
npc->view.bottom = gNpcTable[code].view.bottom * 0x200;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void InitNpChar(void)
|
||||||
|
{
|
||||||
|
memset(gNPC, 0, sizeof(gNPC));
|
||||||
|
}
|
||||||
|
|
||||||
BOOL LoadEvent(const char *path_event)
|
BOOL LoadEvent(const char *path_event)
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
|
|
Loading…
Add table
Reference in a new issue