Verb actions are working correctly now in IHNM. Some verbs are still non-functional

svn-id: r26970
This commit is contained in:
Filippos Karapetis 2007-05-27 11:49:08 +00:00
parent 5f84a9ce71
commit 13541d3e96
3 changed files with 26 additions and 24 deletions

View file

@ -1972,9 +1972,8 @@ void Interface::drawVerbPanelText(Surface *ds, PanelButton *panelButton, KnownCo
if (_vm->getGameType() == GType_ITE) {
textId = verbTypeToTextStringsIdLUT[0][panelButton->id];
text = _vm->getTextString(textId);
} else {
// This -2 has been placed because of the changes in the ids in IHNM_MainPanelButtons
textId = verbTypeToTextStringsIdLUT[1][panelButton->id - 2];
} else {
textId = verbTypeToTextStringsIdLUT[1][panelButton->id];
text = _vm->_script->_mainStrings.getString(textId + 1);
textShadowKnownColor = kKnownColorTransparent;
}