diff options
author | Strangerke | 2013-08-16 14:25:11 +0200 |
---|---|---|
committer | Strangerke | 2013-08-16 14:25:11 +0200 |
commit | e6582fe7d1cbfd3ebe32e49248b829d7b4a09e17 (patch) | |
tree | e4e640d71402a810a76a90bfe2b0cba9e4c9aa47 | |
parent | dcfb1298dc6166c66e5e6787fd9f52b619c0ad52 (diff) | |
download | scummvm-rg350-e6582fe7d1cbfd3ebe32e49248b829d7b4a09e17.tar.gz scummvm-rg350-e6582fe7d1cbfd3ebe32e49248b829d7b4a09e17.tar.bz2 scummvm-rg350-e6582fe7d1cbfd3ebe32e49248b829d7b4a09e17.zip |
MORTEVIELLE: Fix the initialization of verbs from the DAT file
-rw-r--r-- | engines/mortevielle/menu.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp index a64c5a8c90..8fdef34d14 100644 --- a/engines/mortevielle/menu.cpp +++ b/engines/mortevielle/menu.cpp @@ -114,41 +114,41 @@ void Menu::readVerbNums(Common::File &f, int dataSize) { _opcodeSPut = f.readUint16LE(); _opcodeSLook = f.readUint16LE(); - _actionMenu[0]._menuId = OPCODE_NONE >> 8; - _actionMenu[0]._actionId = OPCODE_NONE & 0xFF; + _actionMenu[0]._menuId = OPCODE_NONE >> 8; + _actionMenu[0]._actionId = OPCODE_NONE & 0xFF; - _actionMenu[1]._menuId = _opcodeSHide >> 8; - _actionMenu[1]._actionId = _opcodeSHide & 0xFF; + _actionMenu[1]._menuId = _opcodeSHide >> 8; + _actionMenu[1]._actionId = _opcodeSHide & 0xFF; - _actionMenu[2]._menuId = _opcodeAttach >> 8; - _actionMenu[2]._actionId = _opcodeAttach & 0xFF; + _actionMenu[2]._menuId = _opcodeAttach >> 8; + _actionMenu[2]._actionId = _opcodeAttach & 0xFF; - _actionMenu[3]._menuId = _opcodeForce >> 8; - _actionMenu[3]._actionId = _opcodeForce & 0xFF; + _actionMenu[3]._menuId = _opcodeForce >> 8; + _actionMenu[3]._actionId = _opcodeForce & 0xFF; - _actionMenu[4]._menuId = _opcodeSleep >> 8; - _actionMenu[4]._actionId = _opcodeSleep & 0xFF; + _actionMenu[4]._menuId = _opcodeSleep >> 8; + _actionMenu[4]._actionId = _opcodeSleep & 0xFF; - _actionMenu[5]._menuId = _opcodeEnter >> 8; - _actionMenu[5]._actionId = _opcodeEnter & 0xFF; + _actionMenu[5]._menuId = _opcodeEnter >> 8; + _actionMenu[5]._actionId = _opcodeEnter & 0xFF; - _actionMenu[6]._menuId = _opcodeClose >> 8; - _actionMenu[6]._menuId = _opcodeClose & 0xFF; + _actionMenu[6]._menuId = _opcodeClose >> 8; + _actionMenu[6]._actionId = _opcodeClose & 0xFF; - _actionMenu[7]._menuId = _opcodeKnock >> 8; - _actionMenu[7]._menuId = _opcodeKnock & 0xFF; + _actionMenu[7]._menuId = _opcodeKnock >> 8; + _actionMenu[7]._actionId = _opcodeKnock & 0xFF; - _actionMenu[8]._menuId = _opcodeEat >> 8; - _actionMenu[8]._menuId = _opcodeEat & 0xFF; + _actionMenu[8]._menuId = _opcodeEat >> 8; + _actionMenu[8]._actionId = _opcodeEat & 0xFF; - _actionMenu[9]._menuId = _opcodePlace >> 8; - _actionMenu[9]._menuId = _opcodePlace & 0xFF; + _actionMenu[9]._menuId = _opcodePlace >> 8; + _actionMenu[9]._actionId = _opcodePlace & 0xFF; - _actionMenu[10]._menuId = _opcodeOpen >> 8; - _actionMenu[10]._menuId = _opcodeOpen & 0xFF; + _actionMenu[10]._menuId = _opcodeOpen >> 8; + _actionMenu[10]._actionId = _opcodeOpen & 0xFF; - _actionMenu[11]._menuId = _opcodeLeave >> 8; - _actionMenu[11]._menuId = _opcodeLeave & 0xFF; + _actionMenu[11]._menuId = _opcodeLeave >> 8; + _actionMenu[11]._actionId = _opcodeLeave & 0xFF; } /** |