aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl_v4.cpp
diff options
context:
space:
mode:
authorWalter van Niftrik2018-08-02 10:56:49 +0200
committerWalter van Niftrik2019-07-16 16:24:19 +0200
commitce8a8409332ff28a80de918a5771baa20d6980d1 (patch)
tree99ce86ba7c7d343b8951490c41644e9383f342fe /engines/adl/adl_v4.cpp
parent0cd761086a72e9fd83c23f1c6267fe79829f3f07 (diff)
downloadscummvm-rg350-ce8a8409332ff28a80de918a5771baa20d6980d1.tar.gz
scummvm-rg350-ce8a8409332ff28a80de918a5771baa20d6980d1.tar.bz2
scummvm-rg350-ce8a8409332ff28a80de918a5771baa20d6980d1.zip
ADL: Remove APPLECHAR macro
Diffstat (limited to 'engines/adl/adl_v4.cpp')
-rw-r--r--engines/adl/adl_v4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/adl/adl_v4.cpp b/engines/adl/adl_v4.cpp
index dabee63e1a..3571ec33c2 100644
--- a/engines/adl/adl_v4.cpp
+++ b/engines/adl/adl_v4.cpp
@@ -528,7 +528,7 @@ int AdlEngine_v4::o_save(ScriptEnv &e) {
if (shouldQuit())
return -1;
- if (key != APPLECHAR('Y'))
+ if (key != _display->asciiToNative('Y'))
return 0;
const int slot = askForSlot(_strings_v2.saveInsert);
@@ -569,9 +569,9 @@ int AdlEngine_v4::o_restart(ScriptEnv &e) {
if (shouldQuit())
return -1;
- if (input.firstChar() == APPLECHAR('N')) {
+ if (input.firstChar() == _display->asciiToNative('N')) {
return o_quit(e);
- } else if (input.firstChar() == APPLECHAR('Y')) {
+ } else if (input.firstChar() == _display->asciiToNative('Y')) {
// The original game loads a special save game from volume 3
initState();
// Long jump