diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-08-12 11:20:12 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-08-12 11:20:12 +0530 |
commit | 10f24ba5b82e7e563cb720a8dea9a415fd8055d7 (patch) | |
tree | 854d29dfa5096dcb1e427a2b50b47fdb4601b8b8 /src/map/itemdb.c | |
parent | c63f46ef29310ec846b7fb90e02e93a6abd7abdc (diff) | |
parent | be8b2eaed13475ae043daa81882e490e78396562 (diff) | |
download | hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.gz hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.bz2 hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.xz hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 7de99cf7e..644c16a00 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -75,7 +75,7 @@ struct item_data* itemdb_searchname(const char *str) { return item; //Second priority to Client displayed name. - if( item2 != 0 && strcasecmp(item->jname,str) == 0 ) + if (!item2 && strcasecmp(item->jname,str) == 0) item2 = item; } |