projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f724909
)
"static constexpr v3s16 light_dirs[8]" fails to compile, sync it with master! (#7261)
author
mazocomp
<33579456+mazocomp@users.noreply.github.com>
Sat, 21 Apr 2018 11:07:25 +0000
(14:07 +0300)
committer
SmallJoker
<mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000
(17:32 +0200)
src/content_mapblock.cpp
patch
|
blob
|
history
diff --git
a/src/content_mapblock.cpp
b/src/content_mapblock.cpp
index e6dd8e83e7dddbfc1cc4954c7cad009a2d43ca8e..7e93c13417e04e7bba57f2d544dc232a9e6cd40d 100644
(file)
--- 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 const
expr
v3s16 light_dirs[8] = {
+static const v3s16 light_dirs[8] = {
v3s16(-1, -1, -1),
v3s16(-1, -1, 1),
v3s16(-1, 1, -1),