HPL1: Fix Unused Variable GCC Compiler Warning in Engine Sound Handler

This commit is contained in:
D G Turner 2022-09-11 14:14:26 +01:00 committed by Eugene Sandulenko
parent 0f4923309c
commit cbf5acb057
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -732,7 +732,7 @@ void cSoundHandler::UpdateDistanceVolume3D(cSoundEntry *apEntry, float afTimeSte
// Log(" max distance ");
} else {
float fVolume = 0;
bool bBlocked = false;
//bool bBlocked = false;
////////////////////////////////////////
// Check if sound is blocked.
@ -759,7 +759,7 @@ void cSoundHandler::UpdateDistanceVolume3D(cSoundEntry *apEntry, float afTimeSte
}
pSound->SetFiltering(true, 0xF);
bBlocked = true;
//bBlocked = true;
} else {
// pSound->SetFiltering(false, 0xF);