From a7ad5cc37f1b74708f1982839c4bfd932d0687b9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 1 Jun 2013 13:58:11 -0300 Subject: Fixed Bug #7311 Special Thanks to mleo1, Masao!~ http://hercules.ws/board/tracker/issue-7311-hideonnpc-not-working/ Signed-off-by: shennetsind --- src/map/npc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/npc.c') 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; } -- cgit v1.2.3-70-g09d2