Skip to content

Commit

Permalink
Update CPacketSend.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 25, 2025
1 parent 0070ce2 commit 4c31ee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/CPacketSend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7672,21 +7672,21 @@ void CPToolTip::CopyItemData( CItem& cItem, size_t &totalStringLen, bool addAmou
if( strReq > 0 )
{
tempEntry.stringNum = 1061170; // strength requirement ~1_val~
tempEntry.ourText = oldstrutil::number( cItem.GetStrength() );
tempEntry.ourText = oldstrutil::number( strReq );
FinalizeData( tempEntry, totalStringLen );
}

if( dexReq > 0 )
{
tempEntry.stringNum = 1042971; // ~1_NOTHING~
tempEntry.ourText = oldstrutil::format( "dexterity requirement %s", oldstrutil::number( cItem.GetDexterity()).c_str() );
tempEntry.ourText = oldstrutil::format( "dexterity requirement %s", oldstrutil::number( dexReq ).c_str() );
FinalizeData( tempEntry, totalStringLen );
}

if( intReq > 0 )
{
tempEntry.stringNum = 1042971; // ~1_NOTHING~
tempEntry.ourText = oldstrutil::format( "intelligence requirement %s", oldstrutil::number( cItem.GetIntelligence()).c_str() );
tempEntry.ourText = oldstrutil::format( "intelligence requirement %s", oldstrutil::number( intReq ).c_str() );
FinalizeData( tempEntry, totalStringLen );
}

Expand Down

0 comments on commit 4c31ee7

Please sign in to comment.