"static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261)

This commit is contained in:
mazocomp 2018-04-21 14:07:25 +03:00 committed by SmallJoker
parent f72490950a
commit 0268c9d7c9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// Corresponding offsets are listed in g_27dirs // Corresponding offsets are listed in g_27dirs
#define FRAMED_NEIGHBOR_COUNT 18 #define FRAMED_NEIGHBOR_COUNT 18
static constexpr v3s16 light_dirs[8] = { static const v3s16 light_dirs[8] = {
v3s16(-1, -1, -1), v3s16(-1, -1, -1),
v3s16(-1, -1, 1), v3s16(-1, -1, 1),
v3s16(-1, 1, -1), v3s16(-1, 1, -1),