htf score message fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2489 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-06 13:06:22 +00:00
parent 9a4bd5dd63
commit de9adba417
+1
View File
@@ -640,6 +640,7 @@ COMMAND(suicide, ARG_NONE);
void flagmsg(int flag, int action)
{
if(m_htf && (action == SV_FLAGRETURN || action == SV_FLAGSCORE)) flag = team_opposite(flag);
flaginfo &f = flaginfos[flag];
if(!f.actor || !f.ack) return;
bool own = flag == team_int(player1->team), firstperson = f.actor == player1;