summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 13:54:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-12 22:57:54 +0300
commitb64d0a62182800bd1c827b142c490afd94d7ef46 (patch)
treef4c74dc5cc55711552aee5974fb3377ddb9aa433 /src/map
parentf890d6dd229eb39fe3674258ee054d3e5cf3d185 (diff)
downloadhercules-b64d0a62182800bd1c827b142c490afd94d7ef46.tar.gz
hercules-b64d0a62182800bd1c827b142c490afd94d7ef46.tar.bz2
hercules-b64d0a62182800bd1c827b142c490afd94d7ef46.tar.xz
hercules-b64d0a62182800bd1c827b142c490afd94d7ef46.zip
Fix some compilation warnings with clang 3.6.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index a78b644a9..56dd5784c 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -5979,7 +5979,7 @@ ACMD(mobsearch)
clif->message(fd, atcmd_output);
return false;
}
- if(mob_id == atoi(mob_name) && mob->db(mob_id)->jname)
+ if (mob_id == atoi(mob_name))
strcpy(mob_name,mob->db(mob_id)->jname); // --ja--
//strcpy(mob_name,mob_db(mob_id)->name); // --en--