Death test boo-boo.

This commit is contained in:
Andrei Drexler 2009-07-01 23:04:38 +00:00
parent df62af9f2a
commit 475ba9676e

View file

@ -880,7 +880,7 @@ static int CG_CalcFov(void)
}
// warp if dead
if (cg.snap->ps.stats[STAT_HEALTH] < 0)
if (cg.snap->ps.stats[STAT_HEALTH] <= 0)
{
const float DEATH_WAVE_AMPLITUDE = 5.f;
float delta = (cg.time - cg.timeOfDeath) / 1000.f + 1.f;