From 5f8b6851e0871527afdd4fd9e8b9b8cf6d0e08c5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 5 Apr 2019 16:28:36 +0200 Subject: GRIFFON: const'ness --- engines/griffon/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/griffon/engine.cpp b/engines/griffon/engine.cpp index 49410d99a4..0bd147c04d 100644 --- a/engines/griffon/engine.cpp +++ b/engines/griffon/engine.cpp @@ -115,7 +115,7 @@ void GriffonEngine::griffon_main() { } // element tile locations -int elementmap[15][20] = { +const int elementmap[15][20] = { { 2, 2, 2, 2, -1, -1, -1, 2, 2, 2, 2, 2, 2, -1, -1, -1, -1, -1, -1, -1 }, { 2, -1, -1, -1, -1, -1, -1, 2, 2, 2, 2, 2, 2, -1, -1, -1, -1, -1, -1, -1 }, { 2, -1, 2, 2, -1, -1, -1, 2, 2, 2, 2, 2, 2, -1, -1, -1, -1, -1, -1, -1 }, @@ -215,7 +215,7 @@ const char *story2[27] = { }; // map in inventory menu -int invmap[4][7][13] = { +const int invmap[4][7][13] = { // map 0 { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, -- cgit v1.2.3