Added sound and flash when hitting the frag limit.

parent 53bd5c3b
......@@ -3752,9 +3752,15 @@ void P_ProcessInput(int snum)
Bsprintf(tempbuf, "^08%s^08 wins!", &g_player[p->frag_ps].user_name[0]);
G_AddUserQuote(tempbuf);
S_PlaySound(PIPEBOMB_EXPLODE);
g_player[p->frag_ps].ps->pals[0] = 64;
g_player[p->frag_ps].ps->pals[1] = 64;
g_player[p->frag_ps].ps->pals[2] = 64;
g_player[p->frag_ps].ps->pals_time = 48;
ud.from_bonus = 0;
ud.limit_hit = 1;
p->timebeforeexit = 26 * 4;
g_player[p->frag_ps].ps->timebeforeexit = 26 * 4;
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment