mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
"static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261)
This commit is contained in:
parent
f72490950a
commit
0268c9d7c9
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user