Skip to content

Commit

Permalink
GE_ADDON_CHANGE не используется [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xrSimpodin committed Apr 1, 2022
1 parent e76d17f commit bcae676
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion ogsr_engine/COMMON_AI/xrMessages.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions ogsr_engine/xrGame/Weapon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bcae676

Please sign in to comment.