- if (index != OPENAL_FREE)
- return NULL; // this is all the game does...
- if (offset != 0)
- return NULL; // this is all the game does...
- if (length != 0)
- return NULL; // this is all the game does...
- if ((mode != OPENAL_HW3D) && (mode != OPENAL_2D))
- return NULL; // this is all the game does...
-
- OPENAL_SAMPLE *retval = NULL;
+ }
+ if (index != OPENAL_FREE) {
+ return NULL; // this is all the game does...
+ }
+ if (offset != 0) {
+ return NULL; // this is all the game does...
+ }
+ if (length != 0) {
+ return NULL; // this is all the game does...
+ }
+ if ((mode != OPENAL_HW3D) && (mode != OPENAL_2D)) {
+ return NULL; // this is all the game does...
+ }
+
+ OPENAL_SAMPLE* retval = NULL;