*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@722 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-24 18:55:28 +00:00
parent d65f61b798
commit 90e99ccfcd
+8 -1
View File
@@ -652,9 +652,16 @@ void process(ENetPacket *packet, int sender, int chan) // sender may be -1
};
loopi(3) clients[cn]->pos[i] = getuint(p);
getuint(p);
loopi(6) getint(p);
loopi(5) getint(p);
int state = (getint(p)>>5)&7;
if(cl->type==ST_TCPIP)
{
if(state!=CS_DEAD && state!=CS_ALIVE && (smode!=1 || state!=CS_EDITING))
{
disconnect_client(sender, DISC_TAGT);
return;
};
cl->position.setsizenodelete(0);
while(curmsg<p.length()) cl->position.add(p.buf[curmsg++]);
};