diff --git a/src/engine/world/heightmap.cpp b/src/engine/world/heightmap.cpp index 8fc7c2fde..2d977f133 100644 --- a/src/engine/world/heightmap.cpp +++ b/src/engine/world/heightmap.cpp @@ -87,9 +87,9 @@ namespace hmap } COMMAND(hbrushvert, "iii"); - static const int painted = 1, - nothmap = 2, - mapped = 16; + static constexpr int painted = 1, + nothmap = 2, + mapped = 16; uchar flags[maxbrush][maxbrush]; cube *cmap[maxbrushc][maxbrushc][4]; int mapz[maxbrushc][maxbrushc],