summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-09 18:51:21 +0100
committerHaru <haru@dotalux.com>2013-12-01 13:20:45 +0100
commit6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526 (patch)
tree36d0e720e9956baf2aa8dff2b2aee2ae96d10421 /src/map/itemdb.c
parentc6c2ad187c386d8d27d3336dcbdd5a92555493d2 (diff)
downloadhercules-6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526.tar.gz
hercules-6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526.tar.bz2
hercules-6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526.tar.xz
hercules-6e9c385b8fa2fbca97ca23e35f0b8e5dabd13526.zip
Changed item Aegis ID and mob Sprite ID lookups to case sensitive.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index dc4559483..8a7e34ceb 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -37,7 +37,7 @@ int itemdb_searchname_sub(DBKey key, DBData *data, va_list ap)
//Absolute priority to Aegis code name.
if (*dst != NULL) return 0;
- if( strcmpi(item->name,str)==0 )
+ if( strcmp(item->name,str)==0 ) // Case sensitive
*dst=item;
//Second priority to Client displayed name.
@@ -61,7 +61,7 @@ struct item_data* itemdb_searchname(const char *str) {
continue;
// Absolute priority to Aegis code name.
- if( strcasecmp(item->name,str) == 0 )
+ if( strcmp(item->name,str) == 0 ) // Case sensitive
return item;
//Second priority to Client displayed name.