diff options
author | Strangerke | 2012-02-21 23:09:29 +0100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:21:45 +0200 |
commit | 33106100f63afd7cff1f9ae38b4d682ac95150bd (patch) | |
tree | 4f21837039776c301eeed0a70fa680d0f5a8fdc6 /engines/mortevielle/mortevielle.cpp | |
parent | a988c467a4ef50ee405657ded1fc1c49db061ade (diff) | |
download | scummvm-rg350-33106100f63afd7cff1f9ae38b4d682ac95150bd.tar.gz scummvm-rg350-33106100f63afd7cff1f9ae38b4d682ac95150bd.tar.bz2 scummvm-rg350-33106100f63afd7cff1f9ae38b4d682ac95150bd.zip |
MORTEVIELLE: remove pred and succ
Diffstat (limited to 'engines/mortevielle/mortevielle.cpp')
-rw-r--r-- | engines/mortevielle/mortevielle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp index 67621d036d..7c7524235b 100644 --- a/engines/mortevielle/mortevielle.cpp +++ b/engines/mortevielle/mortevielle.cpp @@ -562,7 +562,7 @@ void MortevielleEngine::handleAction() { g_vm->_menu.eraseMenu(); imen = false; if ((inkey == '\1') || (inkey == '\3') || (inkey == '\5') || (inkey == '\7') || (inkey == '\11')) { - changeGraphicalDevice((uint)pred(int, ord(inkey)) >> 1); + changeGraphicalDevice((uint)(ord(inkey) - 1) >> 1); return; } if (choisi && (msg[3] == sauve)) { |