From f4063c0d58d1a1812e24269efa1ebb8f9a7a2f2e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 19 Feb 2014 23:22:10 -0800 Subject: Make mapflags bitmask instead of bitfield --- src/map/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.cpp') 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(&gat_v[4]); std::copy(gat_m, gat_m + s, &m->gat[0]); -- cgit v1.2.3-70-g09d2