1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-13 14:00:29 +01:00

"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

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
#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),