From 86e9900db60e06738880a57820125ca169c37520 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 1 Jun 2013 14:11:45 -0300 Subject: Fixed script_rid2sd not being available to HPM Special Thanks to Shikazu Signed-off-by: shennetsind --- src/map/npc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 75aab5550..23a3b3d84 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -209,13 +209,12 @@ int npc_enable(const char* name, int flag) nd->option&=~OPTION_HIDE; else if (flag&4) nd->option|= OPTION_HIDE; - else { //Can't change the view_data to invisible class because the view_data for all npcs is shared! [Skotlex] + else { //Can't change the view_data to invisible class because the view_data for all npcs is shared! [Skotlex] nd->option|= OPTION_INVISIBLE; clif->clearunit_area(&nd->bl,CLR_OUTSIGHT); // Hack to trick maya purple card [Xazax] } - if (nd->class_ == WARP_CLASS || nd->class_ == FLAG_CLASS) - { //Client won't display option changes for these classes [Toms] + if (nd->class_ == WARP_CLASS || nd->class_ == FLAG_CLASS) { //Client won't display option changes for these classes [Toms] if (nd->option&(OPTION_HIDE|OPTION_INVISIBLE)) clif->clearunit_area(&nd->bl, CLR_OUTSIGHT); else -- cgit v1.2.3-70-g09d2