fixes compiler error for msvc++
This commit is contained in:
parent
61f212a26c
commit
ff66becd86
1 changed files with 4 additions and 2 deletions
|
@ -267,8 +267,10 @@ void stop_music() {
|
|||
|
||||
void stop_sound() {
|
||||
if(mix_ok) {
|
||||
for (int i = 0; i < 15; i++)
|
||||
Mix_HaltChannel(i);
|
||||
{
|
||||
for (int i = 0; i < 15; i++)
|
||||
Mix_HaltChannel(i);
|
||||
}
|
||||
|
||||
std::map<std::string,Mix_Chunk*>::iterator i;
|
||||
for(i = sound_cache.begin(); i != sound_cache.end(); ++i)
|
||||
|
|
Loading…
Add table
Reference in a new issue