openalbridge/openalwrap.c
changeset 2261 57e99c908e7c
parent 2260 31756e21c436
--- a/openalbridge/openalwrap.c	Sun Jul 12 19:12:08 2009 +0000
+++ b/openalbridge/openalwrap.c	Tue Jul 14 20:02:07 2009 +0000
@@ -16,7 +16,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
-#include "globals.h"
+#include "openalwrap.h"
 #include "wrappers.h"
 #include "alc.h"
 #include "loaders.h"
@@ -312,7 +312,7 @@
     }
     
     
-    ALboolean openal_fade (uint32_t index, uint16_t quantity, bool direction) {
+    ALboolean openal_fade (uint32_t index, uint16_t quantity, ALboolean direction) {
         /*Fade in or out by calling a helper thread*/
 #ifndef _WIN32
         pthread_t thread;