From 78c14e42231965f281090785170aac5c0c119a9a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 9 Sep 2013 16:04:18 -0300 Subject: Fixed Bug #7343 Fixed GvG/PvP warp-on-death thing to not have a 1-second delay and be instantaneous, and not display the respawn window whenever applicable. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7343-gvg-warp-back-delay-when-died/ Signed-off-by: shennetsind --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map') diff --git a/src/map/pc.c b/src/map/pc.c index 7607db560..917e5c4ce 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7027,14 +7027,14 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) { } if( sd->pvp_point < 0 ) { - iTimer->add_timer(tick+1000, pc_respawn_timer,sd->bl.id,0); + iTimer->add_timer(tick+1, pc_respawn_timer,sd->bl.id,0); return 1|8; } } //GvG if( map_flag_gvg(sd->bl.m) ) { - iTimer->add_timer(tick+1000, pc_respawn_timer, sd->bl.id, 0); + iTimer->add_timer(tick+1, pc_respawn_timer, sd->bl.id, 0); return 1|8; } else if( sd->bg_id ) -- cgit v1.2.3-60-g2f50