summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-29 15:22:47 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-29 15:22:47 +0000
commit183f6daa38233b34fd92b735159c15df021f3488 (patch)
treed410cdc16b0999856fb2f140f0f97b49e2a88457 /src/map/unit.c
parentf648da19a914152a6d772f377dda110fa9248972 (diff)
downloadhercules-183f6daa38233b34fd92b735159c15df021f3488.tar.gz
hercules-183f6daa38233b34fd92b735159c15df021f3488.tar.bz2
hercules-183f6daa38233b34fd92b735159c15df021f3488.tar.xz
hercules-183f6daa38233b34fd92b735159c15df021f3488.zip
- Now gvg_dungeon mapflag will activate the other mapflags which are required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced to off if gvg_dungeon is on and viceversa)
- Cleaned the pvp ranking code so that it takes effect even if pvp_nocalcrank is active WHEN the map is a gvg_dungeon one. - Cleaned up a bit the pvp ranking timer code. - Now homuncs and their masters are the only ones who can use support skills on the homunc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9360 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 9ee07430a..9b6e4e85c 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1627,6 +1627,7 @@ int unit_remove_map(struct block_list *bl, int clrtype) {
if(sd->pvp_timer!=-1) {
delete_timer(sd->pvp_timer,pc_calc_pvprank_timer);
sd->pvp_timer = -1;
+ sd->pvp_rank = 0;
}
if(pc_issit(sd)) {