aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2004-07-18 17:08:00 +0000
committerMax Horn2004-07-18 17:08:00 +0000
commit8e8b93aec03cbf2f02d95f34ebfcbeb7d634a6af (patch)
tree373dcfdb56ae44b65a61d61dac057ea0170453c5 /scumm/gfx.cpp
parent2695e9724d510122a6243c515bf428e131a27071 (diff)
downloadscummvm-rg350-8e8b93aec03cbf2f02d95f34ebfcbeb7d634a6af.tar.gz
scummvm-rg350-8e8b93aec03cbf2f02d95f34ebfcbeb7d634a6af.tar.bz2
scummvm-rg350-8e8b93aec03cbf2f02d95f34ebfcbeb7d634a6af.zip
Tiny cleanup ;-)
svn-id: r14251
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
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;