- Fixed: Using the freeze command would make the Revenant missiles switch
their seekingness. The only sane way to deal with this seemed to be to sync the freeze changes with the timer check in A_Tracer(), so that's what I did: Freeze mode only changes every four tics now. SVN r583 (trunk)
This commit is contained in:
parent
7f52e6537b
commit
0adaaeb5d7
4 changed files with 21 additions and 7 deletions
|
|
@ -401,15 +401,14 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
break;
|
||||
|
||||
case CHT_FREEZE:
|
||||
if (bglobal.freeze)
|
||||
bglobal.changefreeze ^= 1;
|
||||
if (bglobal.freeze ^ bglobal.changefreeze)
|
||||
{
|
||||
bglobal.freeze = false;
|
||||
msg = "Freeze mode off";
|
||||
msg = "Freeze mode on";
|
||||
}
|
||||
else
|
||||
{
|
||||
bglobal.freeze = true;
|
||||
msg = "Freeze mode on";
|
||||
msg = "Freeze mode off";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue