shithub: choc

Download patch

ref: 50fd94fa5ff1b6a468880ca63c64e506d6de295f
parent: e392bd160a51b8174450370393693d2b7fe8717e
author: Mike Swanson <[email protected]>
date: Thu Feb 2 02:30:43 EST 2017

d_iwad: Find Doom 3: BFG IWADs on Unix systems.

This is one half of issue #459.

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -650,6 +650,11 @@
     // source ports is /usr/share/games/doom - we support this through the
     // XDG_DATA_DIRS mechanism, through which it can be overridden.
     AddIWADPath(env, "/games/doom");
+
+    // The convention set by RBDOOM-3-BFG is to install Doom 3: BFG
+    // Edition into this directory, under which includes the Doom
+    // Classic WADs.
+    AddIWADPath(env, "/games/doom3bfg/base/wads");
 }
 #endif