Fix the C4 bomb not being cleared when dropping it.

This commit is contained in:
Marco Cawthorne 2019-01-10 11:14:30 +01:00
parent 84399e33c9
commit 79db5ac5fe

View file

@ -494,7 +494,7 @@ void Weapon_DropWeapon( int iSlot ) {
self.fSlotGrenade = 0;
} else if ( iSlot == SLOT_C4BOMB ) {
fWeapon = self.fSlotC4Bomb;
self.fSlotGrenade = 0;
self.fSlotC4Bomb = 0;
} else {
return;
}