From 896404124e200ceb4bf2592cbd3a2dee65f76922 Mon Sep 17 00:00:00 2001 From: tmyqlfpir <80724828+tmyqlfpir@users.noreply.github.com> Date: Tue, 22 Oct 2024 08:57:32 +1000 Subject: [PATCH] Blood: Use kTicRate constant for aiPlay3DSound() --- source/blood/src/ai.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/ai.cpp b/source/blood/src/ai.cpp index e425213ebe..2040804268 100644 --- a/source/blood/src/ai.cpp +++ b/source/blood/src/ai.cpp @@ -97,7 +97,7 @@ void aiPlay3DSound(spritetype *pSprite, int soundId, AI_SFX_PRIORITY nPriority, sfxKill3DSound(pSprite, -1, -1); sfxPlay3DSound(pSprite, soundId, chanId, 0); pDudeExtra->sfx_priority = nPriority; - pDudeExtra->clock = (int)gFrameClock+120; + pDudeExtra->clock = (int)gFrameClock+kTicRate; } }