for(i=0; i<NUM_SOUNDS; i++)
{
#ifdef MSDOS
- sprintf(sound_name[i], "%d", i+1);
+ sprintf(sound_name[i], "%d", i + 1);
#endif
+
Sound[i].name = sound_name[i];
if (!LoadSound(&Sound[i]))
{
if (sound_status == SOUND_OFF)
return;
-#ifdef MSDOS
- SoundServer();
- return;
-#endif
+#ifndef MSDOS
if (pipe(sound_pipe)<0)
{
}
else /* we are parent */
close(sound_pipe[0]); /* no reading from pipe needed */
+
+#else /* MSDOS */
+
+ SoundServer();
+
+#endif /* MSDOS */
}
void InitJoysticks()