*** 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:
@@ -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++]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user