Issue information

Issue ID
#841
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jan 19, 2008 14:24
Last Post
Hercules Elf Bot
Jan 19, 2008 14:24
Confirmation
N/A

Hercules Elf Bot - Jan 19, 2008 14:24

Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=841

I noticed this thing...
CODE
struct item_data* itemdb_searchname(const char *str)
{
...
        // Absolute priority to Aegis code name.
        if( strcasecmp(item->name,str) == 0 )
            return item;

        //Second priority to Client displayed name.
        if( strcasecmp(item->name,str) == 0 )
            item2 = item;
didn't try to understand the details, but shouldn't the second one be using 'jname' ?