improved htf on maps without flag spawns

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2487 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-06 09:40:34 +00:00
parent fbf507826d
commit ed5b32bf6b
5 changed files with 26 additions and 15 deletions
+5 -1
View File
@@ -316,7 +316,11 @@ void c2sinfo(playerent *d) // send update to the server
}
putint(p, SV_SPAWNLIST);
putint(p, maploaded);
if(maploaded > 0) loopi(3) putint(p, numspawn[i]);
if(maploaded > 0)
{
loopi(3) putint(p, numspawn[i]);
loopi(2) putint(p, numflagspawn[i]);
}
senditemstoserver = false;
}
int i = 0;