@@ -181,6 +181,7 @@ void CSE_ALifeInventoryItem::UPDATE_Write(NET_Packet& tNetPacket)
181181 }
182182 }
183183 tNetPacket.w_u8 (1 ); // not freezed - doesn't mean anything...
184+ tNetPacket.w_float_q8 (m_fCondition, 0 .0f , 1 .0f );
184185};
185186
186187void CSE_ALifeInventoryItem::UPDATE_Read (NET_Packet& tNetPacket)
@@ -302,6 +303,8 @@ void CSE_ALifeInventoryItem::UPDATE_Read(NET_Packet& tNetPacket)
302303#endif
303304 freezed = true ;
304305 }
306+
307+ tNetPacket.r_float_q8 (m_fCondition, 0 .0f , 1 .0f );
305308};
306309
307310#ifndef MASTER_GOLD
@@ -526,7 +529,6 @@ void CSE_ALifeItemWeapon::UPDATE_Read(NET_Packet& tNetPacket)
526529{
527530 inherited::UPDATE_Read (tNetPacket);
528531
529- tNetPacket.r_float_q8 (m_fCondition, 0 .0f , 1 .0f );
530532 tNetPacket.r_u8 (wpn_flags);
531533 tNetPacket.r_u16 (a_elapsed);
532534 tNetPacket.r_u8 (m_addon_flags.flags );
@@ -540,7 +542,6 @@ void CSE_ALifeItemWeapon::UPDATE_Write(NET_Packet& tNetPacket)
540542{
541543 inherited::UPDATE_Write (tNetPacket);
542544
543- tNetPacket.w_float_q8 (m_fCondition, 0 .0f , 1 .0f );
544545 tNetPacket.w_u8 (wpn_flags);
545546 tNetPacket.w_u16 (a_elapsed);
546547 tNetPacket.w_u8 (m_addon_flags.get ());
@@ -1012,13 +1013,11 @@ void CSE_ALifeItemCustomOutfit::STATE_Write(NET_Packet& tNetPacket) { inherited:
10121013void CSE_ALifeItemCustomOutfit::UPDATE_Read (NET_Packet& tNetPacket)
10131014{
10141015 inherited::UPDATE_Read (tNetPacket);
1015- tNetPacket.r_float_q8 (m_fCondition, 0 .0f , 1 .0f );
10161016}
10171017
10181018void CSE_ALifeItemCustomOutfit::UPDATE_Write (NET_Packet& tNetPacket)
10191019{
10201020 inherited::UPDATE_Write (tNetPacket);
1021- tNetPacket.w_float_q8 (m_fCondition, 0 .0f , 1 .0f );
10221021}
10231022
10241023#ifndef MASTER_GOLD
@@ -1036,13 +1035,11 @@ void CSE_ALifeItemHelmet::STATE_Write(NET_Packet& tNetPacket) { inherited::STATE
10361035void CSE_ALifeItemHelmet::UPDATE_Read (NET_Packet& tNetPacket)
10371036{
10381037 inherited::UPDATE_Read (tNetPacket);
1039- tNetPacket.r_float_q8 (m_fCondition, 0 .0f , 1 .0f );
10401038}
10411039
10421040void CSE_ALifeItemHelmet::UPDATE_Write (NET_Packet& tNetPacket)
10431041{
10441042 inherited::UPDATE_Write (tNetPacket);
1045- tNetPacket.w_float_q8 (m_fCondition, 0 .0f , 1 .0f );
10461043}
10471044
10481045#ifndef MASTER_GOLD
0 commit comments