From 48b018b2b49416353cf87191ced3047fd12a8e08 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 31 Aug 2020 19:34:43 -0700 Subject: [PATCH] Oops :v --- src/d_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/d_main.c b/src/d_main.c index b241acf3..6c209e32 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -895,7 +895,10 @@ static void IdentifyVersion(void) } // Load the IWAD - AddIWAD(); + if (! AddIWAD()) + { + I_Error("SRB2.SRB not found! Expected in %s\n", srb2waddir); + } // will be overwritten in case of -cdrom or unix/win home snprintf(configfile, sizeof configfile, "%s" PATHSEP CONFIGFILENAME, srb2waddir);