mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix bot's teamleader name field being too short
Players using names with 32 to 35 characters could not be recognized as the team leader. Reported by Razor.
This commit is contained in:
parent
b21a59af8c
commit
424122c366
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ typedef struct bot_state_s
|
|||
float leadmessage_time; //last time a messaged was sent to the team mate
|
||||
float leadbackup_time; //time backing up towards team mate
|
||||
//
|
||||
char teamleader[32]; //netname of the team leader
|
||||
char teamleader[MAX_NETNAME]; //netname of the team leader
|
||||
float askteamleader_time; //time asked for team leader
|
||||
float becometeamleader_time; //time the bot will become the team leader
|
||||
float teamgiveorders_time; //time to give team orders
|
||||
|
|
Loading…
Reference in a new issue