aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-10-17 22:29:05 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-10-17 22:29:15 +0200
commitf36e32317502ef455c5c2e0d10b8c06519188300 (patch)
treeac248afc872e5c7e572ba753c7a9c8a479e451b7
parent38b0e2667928ab75737c9dd7a13769d5d8d7072c (diff)
downloadminetest-f36e32317502ef455c5c2e0d10b8c06519188300.tar.gz
minetest-f36e32317502ef455c5c2e0d10b8c06519188300.tar.bz2
minetest-f36e32317502ef455c5c2e0d10b8c06519188300.zip
directiontables.cpp: fix a warning reported by VS2017
-rw-r--r--src/util/directiontables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/directiontables.cpp b/src/util/directiontables.cpp
index d700355bc..b4d3eef23 100644
--- 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,