diff options
Diffstat (limited to 'actor.cpp')
-rw-r--r-- | actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |