From 67a6ab3704717831b9fa10896fe3d7b056c3e5e8 Mon Sep 17 00:00:00 2001 From: Misa Date: Fri, 29 May 2020 13:25:11 -0700 Subject: [PATCH] Statically allocate Prize for the Reckless tilemap Looks like this was either forgotten about, or sufficiently scary enough to not put a `static` on. But I think it's fine if we put a `static` on it. --- desktop_version/src/Spacestation2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Spacestation2.cpp b/desktop_version/src/Spacestation2.cpp index e9f885da..1b1b88e1 100644 --- a/desktop_version/src/Spacestation2.cpp +++ b/desktop_version/src/Spacestation2.cpp @@ -2503,7 +2503,7 @@ std::vector spacestation2class::loadlevel(int rx, int ry) { //No const here... - int contents[] = { + static int contents[] = { 492,614,680,680,680,680,652,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,653,654,680,680,802,0,0,0,612,492,492,492,492,492, 492,614,680,680,680,680,680,802,0,0,0,0,0,0,0,800,680,680,680,680,680,680,680,680,680,680,680,680,680,680,802,0,0,0,612,492,492,492,492,492, 492,614,680,680,680,680,680,802,0,0,0,0,0,0,0,800,680,680,680,680,680,680,680,680,680,680,680,680,680,680,802,0,0,0,612,492,492,492,492,492,