summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-09 01:54:29 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-09 01:54:29 +0000
commitc4e788ed84197cff57f51f9b0756ae8435aa9b1d (patch)
tree497c6d1d7e467a6937f1cd7f1000d98fbba0b029 /src/map/unit.c
parentbc55a66b38a70e12bd5913206f83bf0a6734fefa (diff)
downloadhercules-c4e788ed84197cff57f51f9b0756ae8435aa9b1d.tar.gz
hercules-c4e788ed84197cff57f51f9b0756ae8435aa9b1d.tar.bz2
hercules-c4e788ed84197cff57f51f9b0756ae8435aa9b1d.tar.xz
hercules-c4e788ed84197cff57f51f9b0756ae8435aa9b1d.zip
Battlegrounds bug fix, bugreport:4996
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15035 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 52b479b25..44296ca51 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2139,7 +2139,6 @@ int unit_free(struct block_list *bl, clr_type clrtype)
guild_send_memberinfoshort(sd,0);
pc_cleareventtimer(sd);
pc_inventory_rental_clear(sd);
- if( sd->bg_id ) bg_team_leave(sd,1);
pc_delspiritball(sd,sd->spiritball,1);
if( sd->reg )