diff options
author | Oystein Eftevaag | 2006-05-28 12:10:11 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2006-05-28 12:10:11 +0000 |
commit | a442af27034c6cf679faf8b425cb11232e4a5958 (patch) | |
tree | bd8c75d8090b7aaad7119c38f4835f3dc8005deb /engines | |
parent | a822d8e6e00362f5dd659b3e1093d3985e726240 (diff) | |
download | scummvm-rg350-a442af27034c6cf679faf8b425cb11232e4a5958.tar.gz scummvm-rg350-a442af27034c6cf679faf8b425cb11232e4a5958.tar.bz2 scummvm-rg350-a442af27034c6cf679faf8b425cb11232e4a5958.zip |
Another couple of fixes for the spanish floppy version (menu strings specifically)
svn-id: r22714
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/gui.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index e86dd7304c..2fce4e335f 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -494,6 +494,7 @@ int KyraEngine::drawShadedBoxCallback(Button *button) { void KyraEngine::setGUILabels() { int offset = 0; int walkspeedGarbageOffset = 36; + int menuLabelGarbageOffset = 0; if (_features & GF_TALKIE) { if (_features & GF_ENGLISH) { @@ -504,6 +505,9 @@ void KyraEngine::setGUILabels() { offset = 6; } walkspeedGarbageOffset = 48; + } else if (_features & GF_SPANISH) { + offset = -4; + menuLabelGarbageOffset = 72; } assert(offset + 27 < _guiStringsSize); @@ -554,7 +558,7 @@ void KyraEngine::setGUILabels() { // Text speed _menu[5].item[4].labelString = _guiStrings[25 + offset]; // Main Menu - _menu[5].item[5].itemString = _guiStrings[19 + offset]; + _menu[5].item[5].itemString = &_guiStrings[19 + offset][menuLabelGarbageOffset]; if (_features & GF_TALKIE) { // Text & Voice |