From 6466291ac607d4cc6668d81780ac695e2452725f 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 b241acf37..6c209e329 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);