BossHP: fix exception half assed
This commit is contained in:
parent
b67178fe4e
commit
5ef203191b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user