From 0d47893d5143dac35686890360591558eef7a72a Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 11 Aug 2014 15:44:55 +0200 Subject: CGE2: Make matrixes static constants in makeSpeechBubbleTail(). --- engines/cge2/bitmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cge2/bitmap.cpp') diff --git a/engines/cge2/bitmap.cpp b/engines/cge2/bitmap.cpp index 6d38f33b99..01e97ebc53 100644 --- a/engines/cge2/bitmap.cpp +++ b/engines/cge2/bitmap.cpp @@ -396,7 +396,7 @@ void Bitmap::xLatPos(V2D& p) { #define kDesignSize 240 uint8 *Bitmap::makeSpeechBubbleTail(int which, uint8 colorSet[][4]) { - uint8 kSLDesign[kDesignSize] = { + static const uint8 kSLDesign[kDesignSize] = { G G G G G G G G G _ _ _ _ _ _ L G G G G G G G G D _ _ _ _ _ _ L G G G G G G G D _ _ _ _ _ @@ -415,7 +415,7 @@ uint8 *Bitmap::makeSpeechBubbleTail(int which, uint8 colorSet[][4]) { _ _ _ _ _ _ _ _ _ _ _ _ _ _ D }; - uint8 kSRDesign[kDesignSize] = { + static const uint8 kSRDesign[kDesignSize] = { _ _ _ _ _ _ G G G G G G G G G _ _ _ _ _ L G G G G G G G G D _ _ _ _ _ L G G G G G G G D _ -- cgit v1.2.3