aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-02 13:44:08 +0000
committerPaweł Kołodziejski2003-03-02 13:44:08 +0000
commit73fa5d7b3ab79b450ecd30a19ef8d29b5ccaf617 (patch)
treef19a560f3d3cd414dea58bae2b78436ad2dc47f4 /scumm
parentbf2576e73489a000ac2b3a35e29111f4219bb8da (diff)
downloadscummvm-rg350-73fa5d7b3ab79b450ecd30a19ef8d29b5ccaf617.tar.gz
scummvm-rg350-73fa5d7b3ab79b450ecd30a19ef8d29b5ccaf617.tar.bz2
scummvm-rg350-73fa5d7b3ab79b450ecd30a19ef8d29b5ccaf617.zip
increased range of palette to 255
svn-id: r6661
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index bd91015476..0dfd87bddf 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1746,7 +1746,7 @@ void Scumm_v6::o6_actorOps()
case 86: /* actor-palette */
j = pop();
i = pop();
- checkRange(31, 0, i, "Illegal palette slot %d");
+ checkRange(255, 0, i, "Illegal palette slot %d");
a->palette[i] = j;
a->needRedraw = true;
break;