From 51658de730708f6493205c5879d0b7d9eb3c2ed0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 6 Nov 2019 23:41:56 +0100 Subject: [PATCH] - fixed savegame path generation --- source/platform/win32/i_specialpaths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/win32/i_specialpaths.cpp b/source/platform/win32/i_specialpaths.cpp index 3cd9c8a20..98ce8d35d 100644 --- a/source/platform/win32/i_specialpaths.cpp +++ b/source/platform/win32/i_specialpaths.cpp @@ -285,7 +285,7 @@ FString M_GetSavegamesPath() path.Substitute("\\", "/"); if (path[path.Len() - 1] != '/') path << '/'; } - else if (*cl_savedir) + else if (**cl_savedir) { path = cl_savedir; path.Substitute("\\", "/");