Fixed: Warnings

This commit is contained in:
kaetemi 2012-04-13 23:29:18 +02:00
parent af01909fad
commit e3d538198b

View file

@ -110,8 +110,8 @@ CSoundManager::CSoundManager(IProgressCallback * /* progressCallBack */)
_GroupControllerEffects(NULL), _GroupControllerEffects(NULL),
_GroupControllerEffectsGame(NULL), _GroupControllerEffectsGame(NULL),
_EnvSoundRoot(NULL), _EnvSoundRoot(NULL),
_UserEntitySoundLevel(1.0f), _Sources(NULL),
_Sources(NULL) _UserEntitySoundLevel(1.0f)
{ {
_EnableBackgroundMusicAtTime= 0; _EnableBackgroundMusicAtTime= 0;
_GameMusicVolume= 1.f; _GameMusicVolume= 1.f;
@ -747,7 +747,7 @@ nldebug("nb sources = %d", _Sources.size() );
{ {
if ( (*it).second == sourceId ) if ( (*it).second == sourceId )
{ {
(*it).second = NULL; (*it).second = 0;
// itOld = it; // itOld = it;
// ++it; // ++it;