diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-21 22:07:37 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2012-12-24 10:02:20 -0800 |
commit | 7afacd63fe36eb56b52490ecf22daeaa95657942 (patch) | |
tree | 53711f61f99d5659a8ef516415655f7e1427dca0 /src/map/script.cpp | |
parent | e5360f5bdfbc67aecd42c9ebda2a42cee732693d (diff) | |
download | tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.gz tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.bz2 tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.tar.xz tmwa-7afacd63fe36eb56b52490ecf22daeaa95657942.zip |
Remove sending of packets the client can't handle
Diffstat (limited to 'src/map/script.cpp')
-rw-r--r-- | src/map/script.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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, |