aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'actor.cpp')
-rw-r--r--actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/actor.cpp b/actor.cpp
index 902425b9e9..7bdf8230da 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -1306,7 +1306,7 @@ void Scumm::setupShadowPalette(int slot, int rfact, int gfact, int bfact,
curpal = _currentPalette + from * 3;
num = to - from + 1;
do {
- *table++ = remapPaletteColor(curpal[0] * rfact >> 8,
+ *table++ = remapPaletteColor((curpal[0] * rfact) >> 8,
curpal[1] * gfact >> 8,
curpal[2] * bfact >> 8, (uint) - 1);
curpal += 3;