From 1796fa69bb14e42cee79d8d69f6b6dbc87b7fba6 Mon Sep 17 00:00:00 2001 From: In-line Date: Sat, 21 Jan 2017 17:35:00 +0400 Subject: [PATCH] Remove useless dev mode from Host_WriteConfiguration --- rehlds/engine/host.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rehlds/engine/host.cpp b/rehlds/engine/host.cpp index 2523070..8b3e030 100644 --- a/rehlds/engine/host.cpp +++ b/rehlds/engine/host.cpp @@ -276,7 +276,11 @@ void Host_WriteConfiguration(void) f = FS_OpenPathID("config.cfg", "w", "GAMECONFIG"); if (!f) { - if (!developer.value || !FS_FileExists("../goldsrc/dev_build_all.bat")) + if (!developer.value +#ifndef REHLDS_FIXES + || !FS_FileExists("../goldsrc/dev_build_all.bat") +#endif + ) { if (FS_GetLocalPath("config.cfg", nameBuf, sizeof(nameBuf))) {