From d20d9a8a78800adce52e4417a11f8eea1682ab0d Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 29 Feb 2016 22:55:15 +0600 Subject: [PATCH] command option '-bots' referenced code wrap in REGAMEDLL_ADD --- regamedll/dlls/util.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regamedll/dlls/util.cpp b/regamedll/dlls/util.cpp index e8369aba..4ead2b2b 100644 --- a/regamedll/dlls/util.cpp +++ b/regamedll/dlls/util.cpp @@ -2350,12 +2350,14 @@ bool UTIL_AreBotsAllowed() return true; } +#ifdef REGAMEDLL_ADD // allow the using of bots for CS 1.6 int bots = ENG_CHECK_PARM("-bots", NULL); if (bots) { return true; } +#endif return false; } @@ -2367,8 +2369,10 @@ bool UTIL_AreHostagesImprov() return true; } +#ifdef REGAMEDLL_ADD // someday in CS 1.6 // ... +#endif return false; }