*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@600 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-11 23:46:54 +00:00
parent 605507f236
commit 21b950e479
3 changed files with 10 additions and 8 deletions
-5
View File
@@ -396,23 +396,19 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
// EDIT: AH
case SV_FLAGINFO:
{
conoutf("received server flag answer 1"); //fixme
int flag = getint(p);
if(flag<0||flag>1) return;
flaginfo &f = flaginfos[flag];
f.state = getint(p);
int action = getint(p);
conoutf("received server flag answer 2");
if(f.state==CTFF_STOLEN)
{
conoutf("flag stolen"); //fixme
int actor_cn = getint(p);
f.actor = actor_cn == getclientnum() ? player1 : getclient(actor_cn);
f.flag->spawned = false;
}
else if(f.state==CTFF_DROPPED)
{
conoutf("flag dropped"); //fixme
f.flag->x = (ushort) (getint(p)/DMF);
f.flag->y = (ushort) (getint(p)/DMF);
f.flag->z = (ushort) (getint(p)/DMF);
@@ -429,7 +425,6 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
}
else if(f.state==CTFF_INBASE)
{
conoutf("flag in base"); //fixme
if(action==SV_FLAGRETURN)
{
int returnerer_cn = getint(p);