aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/costume.cpp
diff options
context:
space:
mode:
authorRobert Crossfield2019-05-05 22:41:20 +1000
committerFilippos Karapetis2019-05-05 15:41:20 +0300
commit71172add9cffd7747cefe6d1c07f6fccc7460075 (patch)
tree38f1c8e016409af3f066c47e4b2f9083cdba50b8 /engines/scumm/costume.cpp
parent8787bbb39029ef6fc901ded8a09fba4215e03f79 (diff)
downloadscummvm-rg350-71172add9cffd7747cefe6d1c07f6fccc7460075.tar.gz
scummvm-rg350-71172add9cffd7747cefe6d1c07f6fccc7460075.tar.bz2
scummvm-rg350-71172add9cffd7747cefe6d1c07f6fccc7460075.zip
SCUMM: Original V0-V2 flashlight shape and size for MM/Zak (#10947, #10951)
Diffstat (limited to 'engines/scumm/costume.cpp')
-rw-r--r--engines/scumm/costume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp
index dc29414623..f33d599f20 100644
--- a/engines/scumm/costume.cpp
+++ b/engines/scumm/costume.cpp
@@ -1213,7 +1213,7 @@ byte V0CostumeRenderer::drawLimb(const Actor *a, int limb) {
palette[1] = 10;
palette[2] = actorV0Colors[_actorID];
} else {
- palette[2] = 11;
+ palette[2] = (_vm->getCurrentLights() & LIGHTMODE_flashlight_on) ? actorV0Colors[_actorID] : 11;
palette[3] = 11;
}
@@ -1378,7 +1378,7 @@ byte V0CostumeLoader::increaseAnim(Actor *a, int limb) {
// Use the previous frame
--a0->_cost.curpos[limb];
- // Reset the comstume command
+ // Reset the costume command
a0->_costCommandNew = 0xFF;
a0->_costCommand = 0xFF;