aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui')
-rw-r--r--engines/sci/gui/gui_picture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp
index d8fa63954d..80f1df1c00 100644
--- a/engines/sci/gui/gui_picture.cpp
+++ b/engines/sci/gui/gui_picture.cpp
@@ -780,7 +780,7 @@ void SciGuiPicture::vectorPatternTexturedBox(Common::Rect box, byte color, byte
void SciGuiPicture::vectorPatternCircle(Common::Rect box, byte size, byte color, byte prio, byte control) {
byte flag = _screen->getDrawingMask(color, prio, control);
- byte *circleData = (byte *)&vectorPatternCircles[size];
+ const byte *circleData = vectorPatternCircles[size];
byte bitmap = *circleData;
byte bitNo = 0;
int y, x;
@@ -802,7 +802,7 @@ void SciGuiPicture::vectorPatternCircle(Common::Rect box, byte size, byte color,
void SciGuiPicture::vectorPatternTexturedCircle(Common::Rect box, byte size, byte color, byte prio, byte control, byte texture) {
byte flag = _screen->getDrawingMask(color, prio, control);
- byte *circleData = (byte *)&vectorPatternCircles[size];
+ const byte *circleData = vectorPatternCircles[size];
byte bitmap = *circleData;
byte bitNo = 0;
const bool *textureData = &vectorPatternTextures[vectorPatternTextureOffset[texture]];