diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index 86d9ac47..253e5e40 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -51,6 +51,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define STEAMPATH_NAME "Quake 3 Arena" #define STEAMPATH_APPID "2200" #define GOGPATH_ID "1441704920" + #define MSSTORE_PATH "Quake 3" #define GAMENAME_FOR_MASTER "Quake3Arena" #define CINEMATICS_LOGO "idlogo.RoQ" #define CINEMATICS_INTRO "intro.RoQ" diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c index bb0e49fa..6dd00d07 100644 --- a/code/sys/sys_win32.c +++ b/code/sys/sys_win32.c @@ -232,10 +232,12 @@ Sys_MicrosoftStorePath */ char* Sys_MicrosoftStorePath(void) { +#ifdef MSSTORE_PATH if (!microsoftStorePath[0]) { Q_strcat(microsoftStorePath, MAX_OSPATH, "C:\\Program Files\\ModifiableWindowsApps\\Quake 3\\EN"); } +#endif return microsoftStorePath; }