mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 15:18:00 +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, ""))
|
||||
continue;
|
||||
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
if (pPlayer->pev->deadflag != DEAD_NO)
|
||||
continue;
|
||||
#endif
|
||||
|
||||
if (pPlayer->IsBot())
|
||||
{
|
||||
CCSBot *pBot = static_cast<CCSBot *>(pPlayer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user