summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-26 16:08:51 -0200
committershennetsind <ind@henn.et>2013-11-26 16:08:51 -0200
commitcf602b78c52b093b6bb9266b7b62ca7edf37aa8f (patch)
treeca997284c46d93f62e6074c6cb28444fb8a567b0 /src/map/clif.c
parent99f2aa61ab788727b10221524a83fda8c3b1718f (diff)
downloadhercules-cf602b78c52b093b6bb9266b7b62ca7edf37aa8f.tar.gz
hercules-cf602b78c52b093b6bb9266b7b62ca7edf37aa8f.tar.bz2
hercules-cf602b78c52b093b6bb9266b7b62ca7edf37aa8f.tar.xz
hercules-cf602b78c52b093b6bb9266b7b62ca7edf37aa8f.zip
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 <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
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.
}