aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudvig Strigeus2001-12-11 13:35:16 +0000
committerLudvig Strigeus2001-12-11 13:35:16 +0000
commit1caad519e208320033b4560074d6d25467cd7648 (patch)
tree1e06f89662bab69f553981361aa6c83108ad09f6
parent083d9204c3ea52baac23a11ee0445a186e1cbe95 (diff)
downloadscummvm-rg350-1caad519e208320033b4560074d6d25467cd7648.tar.gz
scummvm-rg350-1caad519e208320033b4560074d6d25467cd7648.tar.bz2
scummvm-rg350-1caad519e208320033b4560074d6d25467cd7648.zip
fixed typo
svn-id: r3527
-rw-r--r--actor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/actor.cpp b/actor.cpp
index 4df88b14ef..7d499c12c7 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -1089,8 +1089,8 @@ void Scumm::remapActor(Actor *a, int r_fact, int g_fact, int b_fact, int thresho
// allow remap of generic palette entry?
if (!a->unk1 || akpl_color>=16) {
if (r_fact!=256) r = (r*r_fact) >> 8;
- if (r_fact!=256) g = (g*g_fact) >> 8;
- if (r_fact!=256) b = (b*b_fact) >> 8;
+ if (g_fact!=256) g = (g*g_fact) >> 8;
+ if (b_fact!=256) b = (b*b_fact) >> 8;
a->palette[i]=remapPaletteColor(r,g,b,threshold);
}
}