From f36e32317502ef455c5c2e0d10b8c06519188300 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Tue, 17 Oct 2017 22:29:05 +0200 Subject: [PATCH] directiontables.cpp: fix a warning reported by VS2017 --- src/util/directiontables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1