diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-06-16 12:28:19 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-06-16 12:52:46 -0400 |
commit | 801d8e88c8236d09b436b50bd345532034a8be2f (patch) | |
tree | d894f6fdbc39fbbe8a5d9425dd68955b6846d676 | |
parent | ed8bbf523e78c3d30ffe8bd9b452fc33e0796769 (diff) | |
download | tmwa-801d8e88c8236d09b436b50bd345532034a8be2f.tar.gz tmwa-801d8e88c8236d09b436b50bd345532034a8be2f.tar.bz2 tmwa-801d8e88c8236d09b436b50bd345532034a8be2f.tar.xz tmwa-801d8e88c8236d09b436b50bd345532034a8be2f.zip |
do not reset default pvp channel on death
-rw-r--r-- | src/map/pc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp index ebe8bca..ca636b4 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -944,7 +944,7 @@ int pc_calcstatus(dumb_ptr<map_session_data> sd, int first) b_mdef = sd->mdef; b_mdef2 = sd->mdef2; b_base_atk = sd->base_atk; - if (!pc_isdead(sd) && sd->state.pvpchannel == 1) + if (sd->state.pvpchannel == 1) b_pvpchannel = sd->state.pvpchannel; sd->max_weight = max_weight_base_0 + sd->status.attrs[ATTR::STR] * 300; |