summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 2538a1955..cb104c11b 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -130,8 +130,8 @@ int npc_enable(const char *name,int flag)
else //Can't change the view_data to invisible class because the view_data for all npcs is shared! [Skotlex]
nd->sc.option|= OPTION_INVISIBLE;
- if (nd->class_ == WARP_CLASS)
- { //Client won't display option changes for warp portals [Toms]
+ if (nd->class_ == WARP_CLASS || nd->class_ == FLAG_CLASS)
+ { //Client won't display option changes for these classes [Toms]
if (nd->sc.option&(OPTION_HIDE|OPTION_INVISIBLE))
clif_clearchar(&nd->bl, 0);
else