diff options
Diffstat (limited to 'engines/parallaction/dialogue.cpp')
-rw-r--r-- | engines/parallaction/dialogue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp index 7d2224164a..84ecde6e64 100644 --- a/engines/parallaction/dialogue.cpp +++ b/engines/parallaction/dialogue.cpp @@ -236,11 +236,12 @@ uint16 DialogueManager::askPassword() { debugC(1, kDebugDialogue, "checkDialoguePassword()"); char password[100]; - uint16 passwordLen = 0; + uint16 passwordLen; while (true) { clear(); + passwordLen = 0; strcpy(password, "......."); Common::Rect r(_answerBalloonW[0], _answerBalloonH[0]); @@ -491,13 +492,12 @@ void Parallaction::runDialogue(SpeakData *data) { _gfx->setFont(kFontDialogue); - if (_vm->getPlatform() == Common::kPlatformPC) + if (getPlatform() == Common::kPlatformPC) showCursor(false); DialogueManager man(this, data); man.run(); - refreshInventory(_characterName); showCursor(true); return; |