Added QuitSound call.
This commit is contained in:
parent
b09a9e374b
commit
85d1f7138d
2 changed files with 5 additions and 0 deletions
src
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue