added support for bot avatars in scoreboard in cs 1.6
This commit is contained in:
parent
be7780949f
commit
ac8bf86c18
4 changed files with 28 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue