Added QuitSound call.

This commit is contained in:
johns 2000-06-03 19:42:16 +00:00
parent b09a9e374b
commit 85d1f7138d
2 changed files with 5 additions and 0 deletions
src

View file

@ -191,6 +191,9 @@ extern int InitSoundServer(void);
*/
extern void WriteSound(void);
/// Cleanup sound.
extern void QuitSound(void);
#else // }{ WITH_SOUND
/*----------------------------------------------------------------------------
@ -202,6 +205,7 @@ extern void WriteSound(void);
#define InitSound() 0 /// Dummy macro for without sound
#define WriteSound() /// Dummy macro for without sound
#define QuitSound() /// Dummy macro for without sound
#endif // { WITH_SOUND

View file

@ -499,6 +499,7 @@ global volatile void Exit(int err)
extern unsigned PfCounterNotReachable;
);
QuitSound();
NetworkQuit();
DebugLevel0("Frames %d, Slow frames %d = %d%%\n"
,FrameCounter,SlowFrameCounter