added support for bot avatars in scoreboard in cs 1.6

This commit is contained in:
jeefo 2015-06-20 13:38:13 +03:00
commit ac8bf86c18
4 changed files with 28 additions and 8 deletions

View file

@ -641,6 +641,7 @@ struct WavHeader
// botname structure definition
struct BotName
{
String steamId;
String name;
bool used;
};
@ -1204,7 +1205,7 @@ public:
Array <TaskItem> m_tasks;
Bot (edict_t *bot, int difficulty, int personality, int team, int member);
Bot (edict_t *bot, int difficulty, int personality, int team, int member, const String &steamId);
~Bot (void);
int GetAmmo (void);

View file

@ -2694,7 +2694,7 @@ public:
// Returns:
// True if string is empty, false otherwise.
//
bool IsEmpty (void)
bool IsEmpty (void) const
{
if (m_bufferPtr == NULL || m_stringLength == 0)
return true;