From d1290d474710463f6d02685ce3478d08d1d78ac0 Mon Sep 17 00:00:00 2001 From: Bukz Date: Sat, 23 Apr 2011 21:00:04 +0000 Subject: [PATCH] differentiate ctf/htf flags in the server logs git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6312 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/server.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/src/server.cpp b/source/src/server.cpp index 8bfb990f..05d355f0 100644 --- a/source/src/server.cpp +++ b/source/src/server.cpp @@ -1012,7 +1012,10 @@ void flagaction(int flag, int action, int actor) logline(ACLOG_INFO,"[%s] %s returned the flag", c.hostname, c.name); break; case FM_SCORE: - logline(ACLOG_INFO, "[%s] %s scored with the flag for %s, new score %d", c.hostname, c.name, team_string(c.team), c.state.flagscore); + if(m_htf) + logline(ACLOG_INFO, "[%s] %s hunted the flag for %s, new score %d", c.hostname, c.name, team_string(c.team), c.state.flagscore); + else + logline(ACLOG_INFO, "[%s] %s scored with the flag for %s, new score %d", c.hostname, c.name, team_string(c.team), c.state.flagscore); break; case FM_KTFSCORE: logline(ACLOG_INFO, "[%s] %s scored, carrying for %d seconds, new score %d", c.hostname, c.name, (gamemillis - f.stolentime) / 1000, c.state.flagscore);