diff options
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 15aa453e24..ebf029cc08 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -878,7 +878,7 @@ void ScummEngine::drawFlashlight() { // Round the corners. To do so, we simply hard-code a set of nicely // rounded corners. - int corner_data[] = { 8, 6, 4, 3, 2, 2, 1, 1 }; + static const int corner_data[] = { 8, 6, 4, 3, 2, 2, 1, 1 }; int minrow = 0; int maxcol = _flashlight.w - 1; int maxrow = (_flashlight.h - 1) * vs->width; |