diff options
author | Eugene Sandulenko | 2019-11-11 19:45:52 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-13 22:07:08 +0100 |
commit | 1911d459df8df6ca2a7fba3342caa702d369b85b (patch) | |
tree | 9efd22f67c31beb105d11ecac00a1e372ab28e44 /engines/griffon | |
parent | 8f492cf877a1dc1f2b00f0d7addd8e4ea6325e2a (diff) | |
download | scummvm-rg350-1911d459df8df6ca2a7fba3342caa702d369b85b.tar.gz scummvm-rg350-1911d459df8df6ca2a7fba3342caa702d369b85b.tar.bz2 scummvm-rg350-1911d459df8df6ca2a7fba3342caa702d369b85b.zip |
GRIFFON: Fix color fill for hidden 'save', and skip it in the navigation
Diffstat (limited to 'engines/griffon')
-rw-r--r-- | engines/griffon/dialogs.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp index 38da696750..c000d58590 100644 --- a/engines/griffon/dialogs.cpp +++ b/engines/griffon/dialogs.cpp @@ -566,7 +566,8 @@ void GriffonEngine::saveLoadNew() { _saveLoadImg = loadImage("art/saveloadnew.bmp", true); if (_gameMode == kGameModeIntro) { - _saveLoadImg->fillRect(Common::Rect(125, 15, 160, 33), _videoBuffer->format.ARGBToColor(0, 0, 0, 0)); + uint32 color = *(uint32 *)_saveLoadImg->getBasePtr(120, 10); + _saveLoadImg->fillRect(Common::Rect(125, 15, 160, 33), color); } _saveLoadImg->setAlpha(192, true); @@ -678,6 +679,10 @@ void GriffonEngine::saveLoadNew() { --curCol; if (curCol == -1) curCol = 3; + + if (curCol == 1 && _gameMode == kGameModeIntro) + curCol = 0; + tickPause = _ticks + 125; } break; @@ -687,6 +692,10 @@ void GriffonEngine::saveLoadNew() { ++curCol; if (curCol == 4) curCol = 0; + + if (curCol == 1 && _gameMode == kGameModeIntro) + curCol = 2; + tickPause = _ticks + 125; } break; |