BossHP: fix exception half assed

This commit is contained in:
BotoX 2019-11-05 19:29:23 +01:00
parent b67178fe4e
commit 5ef203191b

View File

@ -909,6 +909,13 @@ public void OnGameFrame()
g_aBoss.Erase(i);
i--;
// TODO: Unhook instead of this
for(int entity = 0; entity < sizeof(g_aHurtEntityToBossIdx); entity++)
{
if(g_aHurtEntityToBossIdx[entity] == i)
g_aHurtEntityToBossIdx[entity] = 0xFF;
}
continue;
}