mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
fixed some potential memory leaks and other errors detected by cppcheck
This commit is contained in:
@@ -105,7 +105,7 @@ void TRealSound::Play(double Volume, int Looping, bool ListenerInside, vector3 N
|
||||
if (!pSound)
|
||||
return;
|
||||
long int vol;
|
||||
double dS;
|
||||
double dS = 0.0;
|
||||
// double Distance;
|
||||
DWORD stat;
|
||||
if ((Global::bSoundEnabled) && (AM != 0))
|
||||
|
||||
Reference in New Issue
Block a user