From cf602b78c52b093b6bb9266b7b62ca7edf37aa8f Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 26 Nov 2013 16:08:51 -0200 Subject: Fixed Bug 7838 (addendum) mon_trans_disable_in_gvg: yes no longer displays the error message repeatedly to no purpose. Special Thanks to kyeme http://hercules.ws/board/tracker/issue-7838-wrong-message/ Signed-off-by: shennetsind --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 2c71c4360..2135adff8 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9495,7 +9495,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) { if (sd->sc.opt2) //Client loses these on warp. clif->changeoption(&sd->bl); - if( battle_config.mon_trans_disable_in_gvg && map_flag_gvg2(sd->bl.m) ){ + if( sd->sc.data[SC_MONSTER_TRANSFORM] && battle_config.mon_trans_disable_in_gvg && map_flag_gvg2(sd->bl.m) ){ status_change_end(&sd->bl, SC_MONSTER_TRANSFORM, INVALID_TIMER); clif->message(sd->fd, msg_txt(1488)); // Transforming into monster is not allowed in Guild Wars. } -- cgit v1.2.3-70-g09d2