summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormazocomp <33579456+mazocomp@users.noreply.github.com>2018-04-21 14:07:25 +0300
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commit0268c9d7c9925daeeb2ac847aca090de635ba43c (patch)
tree36585752d7d77c3fa013449155f4329118ee4469
parentf72490950a178ecf667181eb8c2b2243ba400e8d (diff)
downloadminetest-0268c9d7c9925daeeb2ac847aca090de635ba43c.tar.gz
minetest-0268c9d7c9925daeeb2ac847aca090de635ba43c.tar.bz2
minetest-0268c9d7c9925daeeb2ac847aca090de635ba43c.zip
"static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261)
-rw-r--r--src/content_mapblock.cpp2
1 files changed, 1 insertions, 1 deletions
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),