From 2f7ca416386a6a9de659b48c887fb63ea71e80df Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 27 Aug 2022 14:21:43 -0600 Subject: [PATCH] bspfile: fix typo in deriving basedir from gamedir --- common/bspfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bspfile.cc b/common/bspfile.cc index 1f41e0ca..3efcfb60 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -1352,7 +1352,7 @@ public: // now find base dir, if we haven't set it yet if (!basedir.is_absolute()) { - if (!gamedir.empty() && gamedir.is_absolute()) { + if (!basedir.empty() && gamedir.is_absolute()) { // we passed in a relative basedir. probably meant to // be derived from gamedir. basedir = gamedir.parent_path() / basedir;