diff options
Diffstat (limited to 'engines/sci/graphics/robot.cpp')
-rw-r--r-- | engines/sci/graphics/robot.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/graphics/robot.cpp b/engines/sci/graphics/robot.cpp index 70f50945e1..8cd82a8772 100644 --- a/engines/sci/graphics/robot.cpp +++ b/engines/sci/graphics/robot.cpp @@ -125,9 +125,7 @@ void GfxRobot::init(GuiResourceId resourceId, uint16 x, uint16 y) { } void GfxRobot::setPalette() { - byte *paletteData = (_hasSound && _audioSize > 14) ? - _resourceData + 60 + 14 + _audioSize : - _resourceData + 60; + byte *paletteData = _resourceData + _palOffset; uint16 paletteSize = READ_LE_UINT16(_resourceData + 16); Palette resourcePal; |