From 617311ef61537ed544e53e81956b8d687e8b8789 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 11 Mar 2007 22:21:34 +0000 Subject: - Added player not attached crash prevention to countitem/countitem2 - Probably corrected delitem not deleting pet eggs at all. - Possibly nullpo fix on npcskilleffect - Corrected a warning when using #fakename - Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites. - Mob skill state "anytarget" no longer triggers when the mob has an item-target (looting). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9991 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/npc.c') 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 -- cgit v1.2.3-60-g2f50