Improved handling of missing classes in class menus. Fixed bots not getting default class config (removed IsFakeClient check). Made new ClassCountTeam function for customized counting.

This commit is contained in:
richard
2009-04-18 02:22:13 +02:00
parent 1659d24c4a
commit 72c6e9f632
5 changed files with 93 additions and 36 deletions

View File

@ -22,7 +22,7 @@
*/
ClassClientInit(client)
{
if (!IsFakeClient(client))
if (ZRIsValidClient(client))
{
// Set default class indexes on the player.
ClassClientSetDefaultIndexes(client);