Skip to content

Commit

Permalink
heightmap.cpp const -> constexpr for #210
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jun 9, 2021
1 parent 993d645 commit e011e98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine/world/heightmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit e011e98

Please sign in to comment.