diff options
author | Max Horn | 2002-11-28 22:11:43 +0000 |
---|---|---|
committer | Max Horn | 2002-11-28 22:11:43 +0000 |
commit | 1cacb9badb6a9f5b4fc3d2597163b3c586e58f66 (patch) | |
tree | fa25115cde6beece90ae04766f194cdf495eace3 /scumm/script_v1.cpp | |
parent | 66c6879d451ef0a0e29911847a1e8eabae1186ce (diff) | |
download | scummvm-rg350-1cacb9badb6a9f5b4fc3d2597163b3c586e58f66.tar.gz scummvm-rg350-1cacb9badb6a9f5b4fc3d2597163b3c586e58f66.tar.bz2 scummvm-rg350-1cacb9badb6a9f5b4fc3d2597163b3c586e58f66.zip |
fix for bug #600287 (ZAK256: Palette messed up)
svn-id: r5736
Diffstat (limited to 'scumm/script_v1.cpp')
-rw-r--r-- | scumm/script_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v1.cpp b/scumm/script_v1.cpp index 02f67ac0bd..09958af3ef 100644 --- a/scumm/script_v1.cpp +++ b/scumm/script_v1.cpp @@ -1653,7 +1653,7 @@ void Scumm::o5_roomOps() b = getVarOrDirectWord(0x40); } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); - _currentPalette[a] = b; + copyPalColor(a, b); _fullRedraw = 1; } else { error("room-color is no longer a valid command"); |