Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/game/shared/swarm/rd_inventory_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,10 +1061,11 @@ static class CRD_Inventory_Manager final : public CAutoGameSystem, public CGameE

if ( iTierBefore < iTierAfter && pNPC && pOwner )
{
int64_t iCountForTierAfter = CountForStrangeTier(iTierAfter);
#ifdef CLIENT_DLL
if ( CASWHud3DMarineNames *pMarineNames = assert_cast< CASWHud3DMarineNames * >( GetHud().FindElement( "ASWHud3DMarineNames" ) ) )
{
pMarineNames->OnStrangeDeviceTierNotification( pOwner, pNPC, instance.m_iItemDefID, iAccessoryID, iPropertyIndex, iCounterAfter );
pMarineNames->OnStrangeDeviceTierNotification( pOwner, pNPC, instance.m_iItemDefID, iAccessoryID, iPropertyIndex, iCountForTierAfter );
}
#else
CReliableBroadcastRecipientFilter filter;
Expand All @@ -1075,7 +1076,7 @@ static class CRD_Inventory_Manager final : public CAutoGameSystem, public CGameE
WRITE_UBITLONG( instance.m_iItemDefID, RD_ITEM_ID_BITS );
WRITE_UBITLONG( iAccessoryID, RD_ITEM_ACCESSORY_BITS );
WRITE_UBITLONG( iPropertyIndex, 2 ); // 1 extra bit for possible future use
WRITE_BITS( &iCounterAfter, 64 );
WRITE_BITS( &iCountForTierAfter, 64 );
MessageEnd();
#endif
}
Expand Down