mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-04-14 21:42:27 +03:00
Fix bot_kill command (killed already dead bots) (#974)
This commit is contained in:
parent
a94c7bd728
commit
8005dd9ca3
@ -408,6 +408,11 @@ void CCSBotManager::ServerCommand(const char *pcmd)
|
|||||||
if (FStrEq(name, ""))
|
if (FStrEq(name, ""))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
#ifdef REGAMEDLL_FIXES
|
||||||
|
if (pPlayer->pev->deadflag != DEAD_NO)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (pPlayer->IsBot())
|
if (pPlayer->IsBot())
|
||||||
{
|
{
|
||||||
CCSBot *pBot = static_cast<CCSBot *>(pPlayer);
|
CCSBot *pBot = static_cast<CCSBot *>(pPlayer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user