- fixed: Turbo messages were printed, even when no turbo mode was active.

This commit is contained in:
Christoph Oelckers 2016-11-04 12:43:23 +01:00
parent 540f20882e
commit faea61cf01

View file

@ -1172,7 +1172,7 @@ void G_Ticker ()
}
// check for turbo cheats
if (cmd->ucmd.forwardmove > TURBOTHRESHOLD &&
if (turbo > 100.f && cmd->ucmd.forwardmove > TURBOTHRESHOLD &&
!(gametic&31) && ((gametic>>5)&(MAXPLAYERS-1)) == i )
{
Printf ("%s is turbo!\n", players[i].userinfo.GetName());