anticheat compatibility
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5657 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -2736,6 +2736,7 @@ void process(ENetPacket *packet, int sender, int chan)
|
||||
{
|
||||
int gunselect = getint(p);
|
||||
if(gunselect<0 || gunselect>=NUMGUNS || gunselect == GUN_CPISTOL) break;
|
||||
if(!m_demo && !m_coop) checkweapon(type,gunselect);
|
||||
cl->state.gunselect = gunselect;
|
||||
QUEUE_MSG;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user