From: mazocomp <33579456+mazocomp@users.noreply.github.com> Date: Sat, 21 Apr 2018 11:07:25 +0000 (+0300) Subject: "static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261) X-Git-Tag: 0.4.17~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0268c9d7c9925daeeb2ac847aca090de635ba43c;p=oweals%2Fminetest.git "static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261) --- 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),