Removed some old unimplemented-function stuff that we no longer need

This commit is contained in:
Clownacy 2019-02-19 00:55:01 +00:00
parent fbaf46548f
commit 84945aa898
2 changed files with 5 additions and 8 deletions

View file

@ -209,7 +209,6 @@ void ActBossChar()
{
if (gBoss[0].cond & 0x80)
{
if (gpBossFuncTbl[gBoss[0].code_char] != nullptr)
gpBossFuncTbl[gBoss[0].code_char]();
for (int bos = 0; bos < BOSS_MAX; bos++)

View file

@ -360,8 +360,8 @@ void ActNpChar()
{
if (gNPC[i].cond & 0x80)
{
if (gpNpcFuncTbl[gNPC[i].code_char] != nullptr)
gpNpcFuncTbl[gNPC[i].code_char](&gNPC[i]);
if (gNPC[i].shock)
--gNPC[i].shock;
}
@ -404,7 +404,6 @@ void ChangeNpCharByEvent(int code_event, int code_char, int dir)
}
}
if (gpNpcFuncTbl[code_char] != nullptr)
gpNpcFuncTbl[code_char](&gNPC[n]);
}
}
@ -447,7 +446,6 @@ void ChangeCheckableNpCharByEvent(int code_event, int code_char, int dir)
}
}
if (gpNpcFuncTbl[code_char] != nullptr)
gpNpcFuncTbl[code_char](&gNPC[n]);
}
}