Fix BOSS2 RPG attack

This commit is contained in:
nukeykt 2019-06-22 22:26:52 +09:00 committed by Christoph Oelckers
parent 6b7245ec97
commit 36e932a6cb

View file

@ -1112,7 +1112,7 @@ growspark_rr:
else if (PN(spriteNum) == BOSS2) else if (PN(spriteNum) == BOSS2)
{ {
vel += 128; vel += 128;
startPos.z += 4 << 8; startPos.z += 24<<8;
} }
Zvel = tabledivide32_noinline((g_player[otherSprite].ps->opos.z - startPos.z) * vel, safeldist(g_player[otherSprite].ps->i, pSprite)); Zvel = tabledivide32_noinline((g_player[otherSprite].ps->opos.z - startPos.z) * vel, safeldist(g_player[otherSprite].ps->i, pSprite));