Fix squished player self fragging

patch from Striker
This commit is contained in:
nukeykt 2019-07-04 15:32:58 +09:00 committed by Christoph Oelckers
parent ab0cc0d578
commit 976fb2c9e9

View file

@ -8073,9 +8073,9 @@ HORIZONLY:;
break;
case APLAYER__STATIC:
{
int playerNum = P_Get(pPlayer->actorsqu);
P_QuickKill(g_player[playerNum].ps);
g_player[playerNum].ps->frag_ps = playerNum;
int playerSquished = P_Get(pPlayer->actorsqu);
P_QuickKill(g_player[playerSquished].ps);
g_player[playerSquished].ps->frag_ps = playerNum;
break;
}
default: