diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-10-06 22:06:48 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-10-06 22:06:48 -0700 |
commit | b5ad64c62a003699a8060744dbf27503386435d5 (patch) | |
tree | 96d44e79eb453966fc606c9c141968ff6dd6660d /src/map/clif.cpp | |
parent | 735bae276c2f08e10c5b02d8187c665dadb3adcb (diff) | |
download | tmwa-b5ad64c62a003699a8060744dbf27503386435d5.tar.gz tmwa-b5ad64c62a003699a8060744dbf27503386435d5.tar.bz2 tmwa-b5ad64c62a003699a8060744dbf27503386435d5.tar.xz tmwa-b5ad64c62a003699a8060744dbf27503386435d5.zip |
Remove vestigial support for offhanded weapons
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r-- | src/map/clif.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 025b8e8..1b0358b 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -2468,7 +2468,7 @@ int clif_fixpcpos(dumb_ptr<map_session_data> sd) */ int clif_damage(dumb_ptr<block_list> src, dumb_ptr<block_list> dst, tick_t tick, interval_t sdelay, interval_t ddelay, int damage, - int div, DamageType type, int damage2) + int div, DamageType type) { eptr<struct status_change, StatusChange, StatusChange::MAX_STATUSCHANGE> sc_data; @@ -2486,7 +2486,7 @@ int clif_damage(dumb_ptr<block_list> src, dumb_ptr<block_list> dst, fixed_8a.damage = (damage > 0x7fff) ? 0x7fff : damage; fixed_8a.div = div; fixed_8a.damage_type = type; - fixed_8a.damage2 = damage2; + fixed_8a.damage2 = 0; Buffer buf = create_fpacket<0x008a, 29>(fixed_8a); clif_send(buf, src, SendWho::AREA); @@ -3465,7 +3465,6 @@ RecvResult clif_parse_LoadEndAck(Session *s, dumb_ptr<map_session_data> sd) std::bind(pc_calc_pvprank_timer, ph::_1, ph::_2, sd->bl_id)); sd->pvp_rank = 0; - sd->pvp_lastusers = 0; sd->pvp_point = 5; } } |