diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 17:39:10 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 17:39:10 +0000 |
commit | 7861b2339ecd483eb36014edad057c2b7b196ba5 (patch) | |
tree | c3d64b2b0f5792f63ccc734da29ca8b2c408dd9f /src/map/npc.c | |
parent | 88974c1a2b1c270e1a835875c4134d26516da271 (diff) | |
download | hercules-7861b2339ecd483eb36014edad057c2b7b196ba5.tar.gz hercules-7861b2339ecd483eb36014edad057c2b7b196ba5.tar.bz2 hercules-7861b2339ecd483eb36014edad057c2b7b196ba5.tar.xz hercules-7861b2339ecd483eb36014edad057c2b7b196ba5.zip |
- The gain exp from resurrection config will now only work when the revived player has yet to reach the last level (since otherwise it can give quite a lot of exp since the last level exp just keeps piling up)
- Corrected unit_canmove so you can't move if you are vending.
- Corrected npc_click so it won't let you click on hidden npcs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10281 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index c028a7ca4..8e9182beb 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1178,7 +1178,7 @@ int npc_click(struct map_session_data *sd,struct npc_data *nd) if ((nd = npc_checknear(sd,&nd->bl)) == NULL) return 1; //Hidden/Disabled npc. - if (nd->class_ < 0 || nd->sc.option&OPTION_INVISIBLE) + if (nd->class_ < 0 || nd->sc.option&(OPTION_INVISIBLE|OPTION_HIDE)) return 1; switch(nd->bl.subtype) { |