diff options
author | Filippos Karapetis | 2014-05-08 11:43:23 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-05-08 11:43:23 +0300 |
commit | b7dd01fdefd910c3c0f6291145ceab4060ae1a70 (patch) | |
tree | 12e16d4a4362011d5954e6020d85a9bdb0cd5e31 /engines/mads/inventory.cpp | |
parent | 2502bd89966f8b6398be4fc0428aaba1831ad530 (diff) | |
download | scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.tar.gz scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.tar.bz2 scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.zip |
MADS: Remove trailing whitespace
Diffstat (limited to 'engines/mads/inventory.cpp')
-rw-r--r-- | engines/mads/inventory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/inventory.cpp b/engines/mads/inventory.cpp index fecb1b34eb..d41a55fe47 100644 --- a/engines/mads/inventory.cpp +++ b/engines/mads/inventory.cpp @@ -31,7 +31,7 @@ void InventoryObject::synchronize(Common::Serializer &s) { s.syncAsUint16LE(_roomNumber); s.syncAsByte(_article); s.syncAsByte(_vocabCount); - + for (int i = 0; i < 3; ++i) { s.syncAsByte(_vocabList[i]._verbType); s.syncAsByte(_vocabList[i]._prepType); @@ -142,7 +142,7 @@ void InventoryObjects::addToInventory(int objectId) { (*this)[objectId]._roomNumber = PLAYER_INVENTORY; - if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && + if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && _vm->_game->_screenObjects._inputMode == kInputBuildingSentences) { userInterface.categoryChanged(); userInterface.selectObject(userInterface._selectedInvIndex); @@ -164,7 +164,7 @@ void InventoryObjects::removeFromInventory(int objectId, int newScene) { int selectedIndex = userInterface._selectedInvIndex; bool noSelection = selectedIndex < 0; - if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && + if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && _vm->_game->_screenObjects._inputMode == kInputBuildingSentences) userInterface.selectObject(-1); @@ -186,7 +186,7 @@ void InventoryObjects::removeFromInventory(int objectId, int newScene) { newIndex = 0; } - if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && + if (_vm->_game->_kernelMode == KERNEL_ACTIVE_CODE && _vm->_game->_screenObjects._inputMode == kInputBuildingSentences) { userInterface.categoryChanged(); userInterface.selectObject(newIndex); |