diff --git a/ogsr_engine/COMMON_AI/xrMessages.h b/ogsr_engine/COMMON_AI/xrMessages.h index b8f3876a19..78b81a58c9 100644 --- a/ogsr_engine/COMMON_AI/xrMessages.h +++ b/ogsr_engine/COMMON_AI/xrMessages.h @@ -78,7 +78,6 @@ enum { GE_ADDON_ATTACH, GE_ADDON_DETACH, - GE_ADDON_CHANGE, GE_GRENADE_EXPLODE, GE_INV_ACTION, //a action beign taken on inventory diff --git a/ogsr_engine/xrGame/Weapon.cpp b/ogsr_engine/xrGame/Weapon.cpp index 0ca1caa7aa..182d2aac69 100644 --- a/ogsr_engine/xrGame/Weapon.cpp +++ b/ogsr_engine/xrGame/Weapon.cpp @@ -770,13 +770,6 @@ void CWeapon::OnEvent(NET_Packet& P, u16 type) { switch (type) { - case GE_ADDON_CHANGE: - { - P.r_u8 (m_flagsAddOnState); - InitAddons(); - UpdateAddonsVisibility(); - }break; - case GE_WPN_STATE_CHANGE: { u8 state;