directiontables.cpp: fix a warning reported by VS2017
authorLoic Blot <loic.blot@unix-experience.fr>
Tue, 17 Oct 2017 20:29:05 +0000 (22:29 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Tue, 17 Oct 2017 20:29:15 +0000 (22:29 +0200)
src/util/directiontables.cpp

index d700355bc0e0c5fa86da702e585c59805a513d02..b4d3eef2386432c7d47f0ac05974cba2cb7cb53c 100644 (file)
@@ -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,