summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index caab5b4..a063d2b 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -1258,7 +1258,7 @@ bool map_readmap(map_local *m, size_t num, MapName fn)
m->users = 0;
really_memzero_this(&m->flag);
if (battle_config.pk_mode)
- m->flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]
+ m->flag.set(MapFlag::PVP, 1);
MapCell *gat_m = reinterpret_cast<MapCell *>(&gat_v[4]);
std::copy(gat_m, gat_m + s, &m->gat[0]);