First commit of the year in this repo.

Tweaked a little weapon recoil compensation code.
Some of the cosmetic code changes.
Rewrote chatter loading code, so it's works a bit faster now.
Optimized angle clamping in bot  vision code.
This commit is contained in:
jeefo 2017-01-03 02:11:16 +03:00
commit ac0a2e1a8f
10 changed files with 263 additions and 345 deletions

View file

@ -1033,7 +1033,6 @@ void Engine::ProcessMessageCapture (void *ptr)
case 4:
if (playerIndex >= 0 && playerIndex <= MaxClients ())
{
#ifndef XASH_CSDM
Client &client = g_clients[playerIndex - 1];
if (intVal == 1)
@ -1047,7 +1046,6 @@ void Engine::ProcessMessageCapture (void *ptr)
client.team = playerIndex;
else
client.team = client.team2;
#endif
}
break;
}