]> git.xonotic.org Git - xonotic/netradiant.git/commit
restore “open userGamePath/maps/” behavior when LastMapFolder unset
authorThomas Debesse <dev@illwieckz.net>
Mon, 5 Feb 2018 02:54:58 +0000 (03:54 +0100)
committerThomas Debesse <dev@illwieckz.net>
Tue, 2 Oct 2018 23:26:54 +0000 (01:26 +0200)
commitec831ed00f616968a3a3ea837b09cfe52f16949c
tree3b4402c1ad7cdac09b9d49e9808aaeed78441e9b
parent2c7fe998762bd087955c0989f078746b89628181
restore “open userGamePath/maps/” behavior when LastMapFolder unset

The former behavior when LastMapFolder was not implemented
was to try to open maps/ dir in userGamePath.

When LastMapFolder code was written the code only looked
for userGamePath, this is restoring that behavior,
mimicking the code for model opening that does the
same with userGamePath/models.

As an extra, it also fallback on userGamePath is maps/
is missing.
radiant/map.cpp