diff options
author | BLooperZ | 2019-08-16 02:31:01 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-01 00:31:21 +0100 |
commit | 80218a52033e076f43a2938cb0288b931fa934a6 (patch) | |
tree | b168cf766af1d24209a2fc30d85f645e546c29b0 /engines/scumm/verbs.cpp | |
parent | 12c86f2bc1fb8705c719b2a0071c31bcd7fd56f8 (diff) | |
download | scummvm-rg350-80218a52033e076f43a2938cb0288b931fa934a6.tar.gz scummvm-rg350-80218a52033e076f43a2938cb0288b931fa934a6.tar.bz2 scummvm-rg350-80218a52033e076f43a2938cb0288b931fa934a6.zip |
SCUMM7: reverse in single place
Diffstat (limited to 'engines/scumm/verbs.cpp')
-rw-r--r-- | engines/scumm/verbs.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index 03b39f30a1..7e1809408a 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -1002,7 +1002,7 @@ void ScummEngine_v7::drawVerb(int verb, int mode) { // occur in FT; subtype 10, which is used for the speech associated // with the string). byte buf[384] = {0}; - byte rev[384] = {0}; + // byte rev[384] = {0}; convertMessageToString(msg, buf, sizeof(buf)); msg = buf; @@ -1013,17 +1013,17 @@ void ScummEngine_v7::drawVerb(int verb, int mode) { int oldID = _charset->getCurID(); _charset->setCurID(vs->charset_nr); - // reverse string for rtl support - if ((_language == Common::HE_ISR || true)/* && !(_game.id == GID_FT && (_charset->getCurID() == 6 || _charset->getCurID() == 7))*/) { + // // reverse string for rtl support + // if ((_language == Common::HE_ISR || true)/* && !(_game.id == GID_FT && (_charset->getCurID() == 6 || _charset->getCurID() == 7))*/) { - int lens = strlen((const char *)msg); + // int lens = strlen((const char *)msg); - for (int l = 0; l < lens; l++) { - rev[l] = msg[lens - l - 1]; - } - rev[lens] = '\0'; - msg = rev; - } + // for (int l = 0; l < lens; l++) { + // rev[l] = msg[lens - l - 1]; + // } + // rev[lens] = '\0'; + // msg = rev; + // } // char numt[10] ={0}; // sprintf(numt, "%d, %d\n", _charset->getCurID(), oldID); |