sdlplayer bugfix
This commit is contained in:
@@ -146,7 +146,7 @@ void SDLPlayer::closeAudio()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDLPlayer::reInitAudio()
|
void SDLPlayer::reInit()
|
||||||
{
|
{
|
||||||
closeAudio();
|
closeAudio();
|
||||||
initAudio();
|
initAudio();
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
+2806
-15289
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user