mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-03 09:15:23 +03:00
command option '-bots' referenced code wrap in REGAMEDLL_ADD
This commit is contained in:
parent
cbd030e72a
commit
d20d9a8a78
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user