flag sync fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2546 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-12 14:37:00 +00:00
parent 47d6592c5a
commit 6d060c1935
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -560,7 +560,7 @@ void preparectf(bool cleanonly=false)
loopi(2)
{
flaginfo &f = flaginfos[i];
f.ack = false;
f.ack = true;
f.actor = NULL;
f.actor_cn = -1;
f.team = i;
+1 -1
View File
@@ -201,7 +201,7 @@ void checkitems(playerent *d)
{
flaginfo &f = flaginfos[i];
entity &e = *f.flagent;
if(!e.spawned || (f.state == CTFF_INBASE && !numflagspawn[i])) continue;
if(!e.spawned || !f.ack || (f.state == CTFF_INBASE && !numflagspawn[i])) continue;
if(OUTBORD(e.x, e.y)) continue;
if(f.state==CTFF_DROPPED) // 3d collision for dropped ctf flags
{