PHYS_INPUT_BUTTON_ATCK(it) = true;
it.items |= IT_UNLIMITED_AMMO;
Weapon wep = WEP_VORTEX;
+ .entity weaponentity = weaponentities[0]; // TODO: unhardcode
W_GiveWeapon(it, wep.m_id);
- W_SwitchWeapon_Force(it, wep);
+ W_SwitchWeapon_Force(it, wep, weaponentity);
it = b;
PHYS_INPUT_BUTTON_JUMP(it) = true;