fixes compiler error for msvc++

This commit is contained in:
Jörg Hinrichs 2006-09-06 22:00:34 +00:00
parent 61f212a26c
commit ff66becd86

View file

@ -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)