Another fix for crash on -nosound

This commit is contained in:
md2211 2006-10-27 17:53:22 +00:00
parent a65fd40487
commit f147939913

View file

@ -158,6 +158,7 @@ void digi_set_channel_pan(int channel, int pan) {
}
void digi_stop_sound(int channel) {
if (!digi_initialised) return;
if (MIX_DIGI_DEBUG) printf("digi_stop_sound %d\n", channel);
Mix_HaltChannel(channel);
}