diff options
author | shennetsind <ind@henn.et> | 2013-06-01 13:58:11 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-01 13:58:11 -0300 |
commit | a7ad5cc37f1b74708f1982839c4bfd932d0687b9 (patch) | |
tree | 89fb7636bc8e4dbfc0c4d526758edb76e0daaec1 /src/map/npc.c | |
parent | d7e44b9b752e875bd37714309ee524f9700f7d2a (diff) | |
download | hercules-a7ad5cc37f1b74708f1982839c4bfd932d0687b9.tar.gz hercules-a7ad5cc37f1b74708f1982839c4bfd932d0687b9.tar.bz2 hercules-a7ad5cc37f1b74708f1982839c4bfd932d0687b9.tar.xz hercules-a7ad5cc37f1b74708f1982839c4bfd932d0687b9.zip |
Fixed Bug #7311
Special Thanks to mleo1, Masao!~
http://hercules.ws/board/tracker/issue-7311-hideonnpc-not-working/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index cb26bd75c..75aab5550 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -197,8 +197,7 @@ int npc_enable(const char* name, int flag) { struct npc_data* nd = npc_name2id(name); - if (nd==NULL) - { + if ( nd == NULL ) { ShowError("npc_enable: Attempted to %s a non-existing NPC '%s' (flag=%d).\n", (flag&3) ? "show" : "hide", name, flag); return 0; } |