diff AudioPlayer.h @ 1113:39eaa6b00141

something to bool cast (performance warning) mostly fixed
author Grumpy7
date Tue, 28 May 2013 00:19:45 +0200
parents eac5af72b614
children fa30ea497e94
line wrap: on
line diff
--- a/AudioPlayer.h	Mon May 27 23:29:39 2013 +0200
+++ b/AudioPlayer.h	Tue May 28 00:19:45 2013 +0200
@@ -241,7 +241,7 @@
 
 struct SoundDesc
 {
-  inline bool Is3D()  {return uFlags & SOUND_DESC_3D;}
+  inline bool Is3D()  {return (uFlags & SOUND_DESC_3D) != 0;}
 
   char pSoundName[32];
   unsigned int uSoundID;