summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-01 14:11:45 -0300
committershennetsind <ind@henn.et>2013-06-01 14:11:45 -0300
commit86e9900db60e06738880a57820125ca169c37520 (patch)
tree56a85cfd36a1f44add3e5cc9d9fd280618449094 /src/map/npc.c
parenta7ad5cc37f1b74708f1982839c4bfd932d0687b9 (diff)
downloadhercules-86e9900db60e06738880a57820125ca169c37520.tar.gz
hercules-86e9900db60e06738880a57820125ca169c37520.tar.bz2
hercules-86e9900db60e06738880a57820125ca169c37520.tar.xz
hercules-86e9900db60e06738880a57820125ca169c37520.zip
Fixed script_rid2sd not being available to HPM
Special Thanks to Shikazu Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c5
1 files changed, 2 insertions, 3 deletions
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