mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-03 17:25:24 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_ADD
|
||||||
// allow the using of bots for CS 1.6
|
// allow the using of bots for CS 1.6
|
||||||
int bots = ENG_CHECK_PARM("-bots", NULL);
|
int bots = ENG_CHECK_PARM("-bots", NULL);
|
||||||
if (bots)
|
if (bots)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -2367,8 +2369,10 @@ bool UTIL_AreHostagesImprov()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_ADD
|
||||||
// someday in CS 1.6
|
// someday in CS 1.6
|
||||||
// ...
|
// ...
|
||||||
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user