fixed another buffer overflow in config parser
fixed memory leak in translation fixed bots don't shoot through walls fixed bots don't buy anything, if server issues sv_restart 1 fixed inability to kick bot's, when playing on Xash3D engine
This commit is contained in:
parent
d75d5bad44
commit
2b005a6a98
6 changed files with 29 additions and 16 deletions
|
|
@ -409,6 +409,12 @@ void NetworkMsg::Execute (void *p)
|
|||
}
|
||||
}
|
||||
|
||||
if (FStrEq (PTR_TO_STR (p), "#Game_will_restart_in"))
|
||||
{
|
||||
g_botManager->CheckTeamEconomics (TEAM_CF, true);
|
||||
g_botManager->CheckTeamEconomics (TEAM_TF, true);
|
||||
}
|
||||
|
||||
if (FStrEq (PTR_TO_STR (p), "#Terrorists_Win"))
|
||||
{
|
||||
g_botManager->SetLastWinner (TEAM_TF); // update last winner for economics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue