mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix squished player self fragging
patch from Striker
This commit is contained in:
parent
ab0cc0d578
commit
976fb2c9e9
1 changed files with 3 additions and 3 deletions
|
@ -8073,9 +8073,9 @@ HORIZONLY:;
|
||||||
break;
|
break;
|
||||||
case APLAYER__STATIC:
|
case APLAYER__STATIC:
|
||||||
{
|
{
|
||||||
int playerNum = P_Get(pPlayer->actorsqu);
|
int playerSquished = P_Get(pPlayer->actorsqu);
|
||||||
P_QuickKill(g_player[playerNum].ps);
|
P_QuickKill(g_player[playerSquished].ps);
|
||||||
g_player[playerNum].ps->frag_ps = playerNum;
|
g_player[playerSquished].ps->frag_ps = playerNum;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue