no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@777 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-12-09 19:05:36 +00:00
parent 8cb221eaa1
commit b19ac54921
7 changed files with 110 additions and 88 deletions
+9 -1
View File
@@ -207,7 +207,15 @@ void pickup(int n, playerent *d)
f.state = CTFF_STOLEN;
f.pick_ack = false;
}
else if(isownflag && f.state == CTFF_INBASE && flaginfos[team_opposite(team)].state == CTFF_STOLEN && flaginfos[team_opposite(team)].actor == d) addmsg(SV_FLAGSCORE, "ri", team_opposite(team));
else if(isownflag && f.state == CTFF_INBASE)
{
flaginfo &ef = flaginfos[team_opposite(team)];
if(ef.state == CTFF_STOLEN && ef.actor == d)
{
addmsg(SV_FLAGSCORE, "ri", team_opposite(team));
ef.state = CTFF_INBASE;
};
};
break;
};
};