diff options
Diffstat (limited to 'src/heretic/p_spec.c')
-rw-r--r-- | src/heretic/p_spec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/heretic/p_spec.c b/src/heretic/p_spec.c index 652a0142..0d62ad7e 100644 --- a/src/heretic/p_spec.c +++ b/src/heretic/p_spec.c @@ -25,6 +25,7 @@ #include "doomdef.h" #include "i_system.h" +#include "i_timer.h" #include "m_random.h" #include "p_local.h" #include "s_sound.h" @@ -1207,7 +1208,7 @@ void P_InitAmbientSound(void) { AmbSfxCount = 0; AmbSfxVolume = 0; - AmbSfxTics = 10 * TICSPERSEC; + AmbSfxTics = 10 * TICRATE; AmbSfxPtr = AmbSndSeqInit; } @@ -1287,7 +1288,7 @@ void P_AmbientSound(void) done = true; break; case afxcmd_end: - AmbSfxTics = 6 * TICSPERSEC + P_Random(); + AmbSfxTics = 6 * TICRATE + P_Random(); AmbSfxPtr = LevelAmbientSfx[P_Random() % AmbSfxCount]; done = true; break; |