mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fixed: Turbo messages were printed, even when no turbo mode was active.
This commit is contained in:
parent
540f20882e
commit
faea61cf01
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue