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:
driAn
2008-11-03 18:24:42 +00:00
parent 00e1b88bc7
commit 63875d1572
+2 -2
View File
@@ -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;
}