fixed disconnecting issue during votes/mapstarts
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3392 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -563,8 +563,8 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
|
||||
case SV_WEAPCHANGE:
|
||||
{
|
||||
if(!d) return;
|
||||
d->selectweapon(getint(p));
|
||||
int gun = getint(p);
|
||||
if(d) d->selectweapon(gun);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user