aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/missiveomat.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-03 21:17:53 -0400
committerPaul Gilbert2017-10-03 21:17:53 -0400
commitd0c20062adda1b90b381a8302292671bc8fb9337 (patch)
treeb08f4c23d1800a68233179115a411475e60e1acf /engines/titanic/game/missiveomat.cpp
parent7bcc6ed56ca3a121dc0b6034f362cb5a0752e8ad (diff)
downloadscummvm-rg350-d0c20062adda1b90b381a8302292671bc8fb9337.tar.gz
scummvm-rg350-d0c20062adda1b90b381a8302292671bc8fb9337.tar.bz2
scummvm-rg350-d0c20062adda1b90b381a8302292671bc8fb9337.zip
TITANIC: Fix cursor when in MissiveOMat when Conversations tab active
Diffstat (limited to 'engines/titanic/game/missiveomat.cpp')
-rw-r--r--engines/titanic/game/missiveomat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp
index e60f695e88..0c74787113 100644
--- a/engines/titanic/game/missiveomat.cpp
+++ b/engines/titanic/game/missiveomat.cpp
@@ -145,7 +145,7 @@ bool CMissiveOMat::KeyCharMsg(CKeyCharMsg *msg) {
// Check whether a valid username and password has been entered
static const char *const PASSWORDS_EN[3] = { "other", "this", "that" };
static const char *const PASSWORDS_DE[3] = { "t'ok", "t'ik", "t'ak" };
- static const char *const *pwds = g_vm->isGerman() ? PASSWORDS_DE : PASSWORDS_EN;
+ static const char *const *pwds = TRANSLATE(PASSWORDS_EN, PASSWORDS_DE);
bool validFlag = false;
if ((_username == "leovinus" && _password == pwds[0]) ||
@@ -336,6 +336,7 @@ bool CMissiveOMat::MissiveOMatActionMsg(CMissiveOMatActionMsg *msg) {
editMsg._mode = EDIT_BORDERS;
editMsg._param = 8;
editMsg.execute("MissiveOMat Login Control");
+ petHideCursor();
editMsg._mode = EDIT_SHOW_CURSOR;
editMsg.execute("MissiveOMat Login Control");