Skip to content

Commit

Permalink
MORTEVIELLE: Fixed read index parsing alert strings
Browse files Browse the repository at this point in the history
because Pascal code is base 1
  • Loading branch information
chrilith committed Jan 23, 2015
1 parent 3839d9c commit a7d5ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/mortevielle/dialogs.cpp
Expand Up @@ -66,12 +66,12 @@ int DialogManager::show(const Common::String &msg) {
drawAlertBox(10, 5, colNumb);
} else {
drawAlertBox(8, 7, colNumb);
int i = 0;
int i = -1;
_vm->_screenSurface->_textPos.y = 70;
do {
curPos.x = 320;
Common::String displayStr = "";
while ((alertStr[i + 1] != '\174') && (alertStr[i + 1] != '\135')) {
while ((alertStr[i + 1] != '|') && (alertStr[i + 1] != ']')) {
++i;
displayStr += alertStr[i];
curPos.x -= 3;
Expand Down

0 comments on commit a7d5ac9

Please sign in to comment.