summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-19 00:12:35 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-19 00:12:35 +0000
commit38825fa2ef87c024f88cf0ac139a02ef7fd5f40d (patch)
tree4aa62b912811a0b2921fedb759b39620b08431e2 /src/map/unit.c
parente92f5bc08714b2832c6393e3d9f652d75e69a568 (diff)
downloadhercules-38825fa2ef87c024f88cf0ac139a02ef7fd5f40d.tar.gz
hercules-38825fa2ef87c024f88cf0ac139a02ef7fd5f40d.tar.bz2
hercules-38825fa2ef87c024f88cf0ac139a02ef7fd5f40d.tar.xz
hercules-38825fa2ef87c024f88cf0ac139a02ef7fd5f40d.zip
- The last bug in Adoption system.
- Fixed a bug on trade, if you received a trade without accept it do logout... the other player cannot trade anymore 'til restart. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12396 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 62638e252..5bdccd83d 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1672,6 +1672,7 @@ int unit_remove_map(struct block_list *bl, int clrtype)
sd->menuskill_id = sd->menuskill_val = 0;
sd->npc_shopid = 0;
+ sd->adopt_invite = 0;
if(sd->pvp_timer!=-1) {
delete_timer(sd->pvp_timer,pc_calc_pvprank_timer);