From: Loic Blot Date: Tue, 17 Oct 2017 20:29:05 +0000 (+0200) Subject: directiontables.cpp: fix a warning reported by VS2017 X-Git-Tag: 5.0.0~763 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f36e32317502ef455c5c2e0d10b8c06519188300;p=oweals%2Fminetest.git directiontables.cpp: fix a warning reported by VS2017 --- 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,