summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormeko <mekolat@users.noreply.github.com>2015-04-15 12:17:50 -0400
committermeko <mekolat@users.noreply.github.com>2015-04-15 12:17:50 -0400
commit0e10d43adcfd26e4d2d8379f03041d6ba7a809cf (patch)
tree68a2f32557f83a6cb9050242e62e8f05a7627797 /src/map
parent0b04c49460a2e0c894c818ae190465fc2607bca8 (diff)
downloadtmwa-0e10d43adcfd26e4d2d8379f03041d6ba7a809cf.tar.gz
tmwa-0e10d43adcfd26e4d2d8379f03041d6ba7a809cf.tar.bz2
tmwa-0e10d43adcfd26e4d2d8379f03041d6ba7a809cf.tar.xz
tmwa-0e10d43adcfd26e4d2d8379f03041d6ba7a809cf.zip
Do not require pk_mode for NOPVP
Diffstat (limited to 'src/map')
-rw-r--r--src/map/npc-parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc-parse.cpp b/src/map/npc-parse.cpp
index 443a1e7..9c9a22c 100644
--- a/src/map/npc-parse.cpp
+++ b/src/map/npc-parse.cpp
@@ -339,7 +339,7 @@ bool npc_load_mapflag(ast::npc::MapFlag& mapflag)
return false;
}
- if (battle_config.pk_mode && mf == MapFlag::NOPVP)
+ if (mf == MapFlag::NOPVP)
{
if (mapflag.vec_extra.data.size())
{