From 7afacd63fe36eb56b52490ecf22daeaa95657942 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 21 Dec 2012 22:07:37 -0800 Subject: Remove sending of packets the client can't handle --- src/map/script.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/map/script.cpp') diff --git a/src/map/script.cpp b/src/map/script.cpp index 690e938..43451ef 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -3579,7 +3579,6 @@ void builtin_pvpon(ScriptState *st) if (m >= 0 && !map[m].flag.pvp && !map[m].flag.nopvp) { map[m].flag.pvp = 1; - clif_send0199(m, 1); if (battle_config.pk_mode) // disable ranking functions if pk_mode is on [Valaris] return; @@ -3615,7 +3614,6 @@ void builtin_pvpoff(ScriptState *st) if (m >= 0 && map[m].flag.pvp && map[m].flag.nopvp) { map[m].flag.pvp = 0; - clif_send0199(m, 0); if (battle_config.pk_mode) // disable ranking options if pk_mode is on [Valaris] return; @@ -3627,7 +3625,6 @@ void builtin_pvpoff(ScriptState *st) { if (m == pl_sd->bl.m) { - clif_pvpset(pl_sd, 0, 0, 2); if (pl_sd->pvp_timer != -1) { delete_timer(pl_sd->pvp_timer, -- cgit v1.2.3-60-g2f50