sound volume fixes, remove warnings, translation update for string
freeze
This commit is contained in:
@@ -125,7 +125,7 @@ void SDLPlayer::playSound(string audioString, int playerID)
|
||||
|
||||
|
||||
// set channel 0 to settings volume
|
||||
Mix_Volume(0,myConfig->readConfigInt("SoundVolume")*10);
|
||||
Mix_Volume(-1,myConfig->readConfigInt("SoundVolume")*10);
|
||||
|
||||
// set 3d effect
|
||||
if(!Mix_SetPosition(0, position, distance)) {
|
||||
|
||||
@@ -15,8 +15,8 @@ public:
|
||||
|
||||
private:
|
||||
SDLPlayer *mySDLPlayer;
|
||||
gameTableImpl *myW;
|
||||
ConfigFile *myConfig;
|
||||
gameTableImpl *myW;
|
||||
|
||||
unsigned int lastSBValue;
|
||||
unsigned int lastSBLevel;
|
||||
|
||||
Reference in New Issue
Block a user