aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp
index 617c254ec4..50548486f0 100644
--- a/engines/sword2/animation.cpp
+++ b/engines/sword2/animation.cpp
@@ -291,7 +291,7 @@ bool MoviePlayer::playVideo() {
uint32 weight;
byte r, g, b;
- byte *palette = _decoder->getPalette();
+ const byte *palette = _decoder->getPalette();
for (int i = 0; i < 256; i++) {
r = *palette++;