[iortcw] 261/497: All: Fix teamleader name field being too short
Simon McVittie
smcv at debian.org
Wed Sep 21 19:48:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit 2af875c6904f85bbd2dc71f78eb084fa8aae315c
Author: M4N4T4RMS at gmail.com <M4N4T4RMS at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Sun Dec 7 10:08:30 2014 +0000
All: Fix teamleader name field being too short
---
MP/code/game/ai_main.h | 2 +-
SP/code/game/ai_main.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MP/code/game/ai_main.h b/MP/code/game/ai_main.h
index 3fde262..9722501 100644
--- a/MP/code/game/ai_main.h
+++ b/MP/code/game/ai_main.h
@@ -195,7 +195,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
diff --git a/SP/code/game/ai_main.h b/SP/code/game/ai_main.h
index 626ec9b..827e77f 100644
--- a/SP/code/game/ai_main.h
+++ b/SP/code/game/ai_main.h
@@ -195,7 +195,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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list