Author: torangan
Date: 2005-11-02 08:41:22 +0100 (Wed, 02 Nov 2005)
New Revision: 2477

Modified:
   trunk/src/sound/sound.hxx
   trunk/src/sound/sound_real.cxx
Log:
deinitialize sound correctly

Modified: trunk/src/sound/sound.hxx
===================================================================
--- trunk/src/sound/sound.hxx   2005-11-02 07:39:25 UTC (rev 2476)
+++ trunk/src/sound/sound.hxx   2005-11-02 07:41:22 UTC (rev 2477)
@@ -33,6 +33,7 @@
 
 protected:
   PingusSound () { }
+       virtual ~PingusSound () { }
 
   virtual void real_play_sound(const std::string & name, float volume, float 
panning) =0;
   virtual void real_play_music(const std::string & name, float volume) =0;

Modified: trunk/src/sound/sound_real.cxx
===================================================================
--- trunk/src/sound/sound_real.cxx      2005-11-02 07:39:25 UTC (rev 2476)
+++ trunk/src/sound/sound_real.cxx      2005-11-02 07:41:22 UTC (rev 2477)
@@ -66,7 +66,7 @@
 #endif
 
 #ifdef HAVE_LIBCLANVORBIS
-  CL_SetupVorbis::init();
+  CL_SetupVorbis::deinit();
 #endif
 
   CL_SetupSound::deinit();



_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs

Reply via email to