diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 22:21:34 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-11 22:21:34 +0000 |
commit | 617311ef61537ed544e53e81956b8d687e8b8789 (patch) | |
tree | bb5ef9729e094e32cebe157b494b79742811a6b6 /src/map/npc.c | |
parent | 8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5 (diff) | |
download | hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.gz hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.bz2 hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.xz hercules-617311ef61537ed544e53e81956b8d687e8b8789.zip |
- 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
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
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 |