- 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
|
|
@ -75,6 +75,16 @@ void P_Ticker (void)
|
|||
if (paused || (playerswiping && !demoplayback) || P_CheckTickerPaused())
|
||||
return;
|
||||
|
||||
// [RH] Frozen mode is only changed every 4 tics, to make it work with A_Tracer().
|
||||
if ((level.time & 3) == 0)
|
||||
{
|
||||
if (bglobal.changefreeze)
|
||||
{
|
||||
bglobal.freeze ^= 1;
|
||||
bglobal.changefreeze = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// [BC] Do a quick check to see if anyone has the freeze time power. If they do,
|
||||
// then don't resume the sound, since one of the effects of that power is to shut
|
||||
// off the music.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue