aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-04-05 16:28:36 +0200
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit5f8b6851e0871527afdd4fd9e8b9b8cf6d0e08c5 (patch)
treeb0690d85956e42d00090a13b12b1f4f56bc5fefe
parentf07567c4b315ab3dd80cab6f9bcdf48b1b73561f (diff)
downloadscummvm-rg350-5f8b6851e0871527afdd4fd9e8b9b8cf6d0e08c5.tar.gz
scummvm-rg350-5f8b6851e0871527afdd4fd9e8b9b8cf6d0e08c5.tar.bz2
scummvm-rg350-5f8b6851e0871527afdd4fd9e8b9b8cf6d0e08c5.zip
GRIFFON: const'ness
-rw-r--r--engines/griffon/engine.cpp4
1 files 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},