sdlplayer bugfix

This commit is contained in:
doitux
2012-12-20 09:41:39 +01:00
parent 31c3771d59
commit fe7f34a504
3 changed files with 2808 additions and 15291 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ void SDLPlayer::closeAudio()
} }
} }
void SDLPlayer::reInitAudio() void SDLPlayer::reInit()
{ {
closeAudio(); closeAudio();
initAudio(); initAudio();
+1 -1
View File
@@ -46,7 +46,7 @@ public:
void initAudio(); void initAudio();
void playSound(std::string, int playerID); void playSound(std::string, int playerID);
void closeAudio(); void closeAudio();
void reInitAudio(); void reInit();
private: private:
Mix_Chunk *sound; Mix_Chunk *sound;
File diff suppressed because it is too large Load Diff