Quote:
Originally Posted by Leonardo
*updated without version bump.
|
I'm sorry, but it's not fixed. Do you think the problem is this? IMHO, there's no "name" or "name_short" attribute in the data file, so the item name got both the prefix and suffix.
Code:
if( !( iFlags & FINDITEM_NO_ITEMNAME ) )
{
KvGetString( hItemsData, "name", szItemName, iItemNameLen, "" );
if( !strlen( szItemName ) )
Format( szItemName, iItemNameLen, "#Weapon_%s", szItemClass );
KvGetString( hItemsData, "name_short", szItemNameShort, iItemNameShortLen, "" );
if( !strlen( szItemNameShort ) )
Format( szItemNameShort, iItemNameShortLen, "%s_short", szItemName );
}
__________________