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:
38b0e26
)
directiontables.cpp: fix a warning reported by VS2017
author
Loic Blot
<loic.blot@unix-experience.fr>
Tue, 17 Oct 2017 20:29:05 +0000
(22:29 +0200)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Tue, 17 Oct 2017 20:29:15 +0000
(22:29 +0200)
src/util/directiontables.cpp
patch
|
blob
|
history
diff --git
a/src/util/directiontables.cpp
b/src/util/directiontables.cpp
index d700355bc0e0c5fa86da702e585c59805a513d02..b4d3eef2386432c7d47f0ac05974cba2cb7cb53c 100644
(file)
--- a/
src/util/directiontables.cpp
+++ b/
src/util/directiontables.cpp
@@
-110,7
+110,7
@@
const v3s16 g_27dirs[27] =
v3s16(0,0,0),
};
-constexpr u8 wallmounted_to_facedir[6] = {
+constexpr
const
u8 wallmounted_to_facedir[6] = {
20,
0,
16 + 1,