diff --git a/src/engine/e_sound.pas b/src/engine/e_sound.pas
index 333ab5059196a48a4b28b063f9107d5af48e043f..d689dfeca5e66feae9dd7e9755760aa1693e24c8 100644 (file)
--- a/src/engine/e_sound.pas
+++ b/src/engine/e_sound.pas
-(* Copyright (C) DooM 2D:Forever Developers
+(* Copyright (C) Doom 2D: Forever Developers
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE ../shared/a_modes.inc}
unit e_sound;
{$IFDEF USE_SDLMIXER}
{$I e_sound_sdl.inc}
{$ELSE}
unit e_sound;
{$IFDEF USE_SDLMIXER}
{$I e_sound_sdl.inc}
{$ELSE}
- {$I e_sound_fmod.inc}
+ {$IFDEF USE_OPENAL}
+ {$I e_sound_al.inc}
+ {$ELSE}
+ {$I e_sound_fmod.inc}
+ {$ENDIF}
{$ENDIF}
{$ENDIF}