From 0268c9d7c9925daeeb2ac847aca090de635ba43c Mon Sep 17 00:00:00 2001 From: mazocomp <33579456+mazocomp@users.noreply.github.com> Date: Sat, 21 Apr 2018 14:07:25 +0300 Subject: [PATCH] "static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261) --- src/content_mapblock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index e6dd8e83e..7e93c1341 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -43,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc., // Corresponding offsets are listed in g_27dirs #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),