diff options
author | Haruna <haru@dotalux.com> | 2015-01-12 21:02:53 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-01-12 21:02:53 +0100 |
commit | 74f2ce544bcc8ad814e3512b67f508fe5df40c23 (patch) | |
tree | f4c74dc5cc55711552aee5974fb3377ddb9aa433 /src/map/atcommand.c | |
parent | 6a5636ddf61e4fca9d258c11ebead182564f234f (diff) | |
parent | b64d0a62182800bd1c827b142c490afd94d7ef46 (diff) | |
download | hercules-74f2ce544bcc8ad814e3512b67f508fe5df40c23.tar.gz hercules-74f2ce544bcc8ad814e3512b67f508fe5df40c23.tar.bz2 hercules-74f2ce544bcc8ad814e3512b67f508fe5df40c23.tar.xz hercules-74f2ce544bcc8ad814e3512b67f508fe5df40c23.zip |
Merge pull request #440 from 4144/uninitializedfixes
Different warnings fixes
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
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-- |