summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41d480b)
raw | patch | inline | side by side (parent: 41d480b)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 17 Apr 2016 06:31:05 +0000 (09:31 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 17 Apr 2016 06:31:05 +0000 (09:31 +0300) |
src/game/g_sound.pas | patch | blob | history |
diff --git a/src/game/g_sound.pas b/src/game/g_sound.pas
index b1e09f8b4d91ee642fac286bf529fb0f32ab88c2..b37cd1f896219f277f714e6e372104794a508ede 100644 (file)
--- a/src/game/g_sound.pas
+++ b/src/game/g_sound.pas
end;
WAD.Free();
-{$IFNDEF HEADLESS}
if (not ok) then
begin
+{$IFNDEF HEADLESS}
if isMusic then
e_WriteLog(Format('Error loading music %s', [Resource]), MSG_WARNING)
else
e_WriteLog(Format('Error loading sound %s', [Resource]), MSG_WARNING);
Exit;
- end;
{$ENDIF}
+ end;
Result := True;
end;
end;
WAD.Free();
-{$IFNDEF HEADLESS}
if (not ok) then
begin
+{$IFNDEF HEADLESS}
if isMusic then
e_WriteLog(Format('Error loading music %s', [Resource]), MSG_WARNING)
else
e_WriteLog(Format('Error loading sound %s', [Resource]), MSG_WARNING);
Exit;
- end;
{$ENDIF}
+ end;
Result := True;
end;