summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-10 09:25:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-10 09:25:30 +0000
commit547279bdd6a34d2342e96be57219f31b657f5c47 (patch)
tree3450ed80b08408060ac34fc1162bf9b1d391903b /src/map/unit.c
parent16bd7992cfa410cb200fc0357a44c00e8ea92623 (diff)
downloadhercules-547279bdd6a34d2342e96be57219f31b657f5c47.tar.gz
hercules-547279bdd6a34d2342e96be57219f31b657f5c47.tar.bz2
hercules-547279bdd6a34d2342e96be57219f31b657f5c47.tar.xz
hercules-547279bdd6a34d2342e96be57219f31b657f5c47.zip
- Cleared up npc shop id when warping a player.
- Added missing range/skill-mask info to reflected damage (fixes autospells not triggering on it) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11880 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index cd834524a..a101a5160 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1691,6 +1691,7 @@ int unit_remove_map(struct block_list *bl, int clrtype)
if(sd->menuskill_id)
sd->menuskill_id = sd->menuskill_val = 0;
+ sd->npc_shopid = 0;
pc_delinvincibletimer(sd);
if(sd->pvp_timer!=-1) {