mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed Exhumed sound indices.
This commit is contained in:
parent
003f4a035e
commit
4aad87cf83
1 changed files with 2 additions and 2 deletions
|
@ -552,7 +552,7 @@ void GameInterface::UpdateSounds()
|
|||
void PlayFX2(int nSound, DExhumedActor* pActor, int sectf, EChanFlags chanflags, int sprflags, const DVector3* soundpos)
|
||||
{
|
||||
if (!SoundEnabled()) return;
|
||||
auto soundid = FSoundID::fromInt(nSound & 0x1ff);
|
||||
auto soundid = FSoundID::fromInt((nSound & 0x1ff) + 1);
|
||||
if (!soundEngine->isValidSoundId(soundid))
|
||||
{
|
||||
Printf("PlayFX2: Invalid sound nSound == %i\n", nSound);
|
||||
|
@ -729,7 +729,7 @@ void UpdateCreepySounds()
|
|||
auto sp = PlayerList[nLocalPlayer].pActor->spr.pos + adder;
|
||||
creepy = GetSoundPos(sp);
|
||||
|
||||
auto soundid = FSoundID::fromInt(vsi & 0x1ff);
|
||||
auto soundid = FSoundID::fromInt((vsi & 0x1ff) + 1);
|
||||
|
||||
if (!soundEngine->isValidSoundId(soundid))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue