Skip to content

Commit

Permalink
Blood: Use kTicRate constant for aiPlay3DSound()
Browse files Browse the repository at this point in the history
  • Loading branch information
tmyqlfpir committed Oct 22, 2024
1 parent bef0d6b commit 8964041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/blood/src/ai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 8964041

Please sign in to comment.