Experimental fix for bug at16815 (karlos)

This commit is contained in:
David Anderson
2005-08-17 17:32:51 +00:00
parent 8648bf32a3
commit b04498cddb
2 changed files with 14 additions and 16 deletions

View File

@@ -153,17 +153,6 @@ void Client_WeaponList(void* mValue)
break;
case 7:
int iId = *(int*)mValue;
/*int* blocker;
int iwpn = iId;
if (iId > 31) {
iwpn -= 31;
blocker = &wpnList2;
}
else
blocker = &wpnList;*/
if ( (iId < 0 || iId >= MAX_WEAPONS ) || (wpnList & (1<<iId)) )
break;
wpnList |= (1<<iId);