summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-06-16 12:28:19 -0400
committermekolat <mekolat@users.noreply.github.com>2015-06-16 12:52:46 -0400
commit801d8e88c8236d09b436b50bd345532034a8be2f (patch)
treed894f6fdbc39fbbe8a5d9425dd68955b6846d676
parented8bbf523e78c3d30ffe8bd9b452fc33e0796769 (diff)
downloadtmwa-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.cpp2
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;