2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-28 15:45:46 +03:00

Remove useless dev mode from Host_WriteConfiguration

This commit is contained in:
In-line 2017-01-21 17:35:00 +04:00 committed by GitHub
parent 47964c847b
commit 1796fa69bb

View File

@ -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)))
{