diff --git a/code/game/ai_main.h b/code/game/ai_main.h index ff258a05..40f5bb47 100644 --- a/code/game/ai_main.h +++ b/code/game/ai_main.h @@ -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