diff options
author | Strangerke | 2014-12-04 13:43:12 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:00:35 -0500 |
commit | 3c97961fd2c300a4b4541517a4884498f5d52366 (patch) | |
tree | 7ffd6ec51c43bf6a57d150139a94f4da16595565 /engines | |
parent | 06f99158f063e72a492a661fc94529ec3b0d242a (diff) | |
download | scummvm-rg350-3c97961fd2c300a4b4541517a4884498f5d52366.tar.gz scummvm-rg350-3c97961fd2c300a4b4541517a4884498f5d52366.tar.bz2 scummvm-rg350-3c97961fd2c300a4b4541517a4884498f5d52366.zip |
ACCESS: Fix the display in the floppy and demo version by removing the inventory pre-rendering
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/inventory.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/access/inventory.cpp b/engines/access/inventory.cpp index 629b89f155..1bf3bdc8a0 100644 --- a/engines/access/inventory.cpp +++ b/engines/access/inventory.cpp @@ -102,10 +102,14 @@ void InventoryManager::setUseItem(int itemId) { } void InventoryManager::refreshInventory() { - if (_vm->_screen->_vesaMode) { - _invRefreshFlag = true; - newDisplayInv(); - } + + // The original version was using pre-rendering for the inventory to spare some time. + // This is not needed on modern hardware, and it breaks a couple of things. + // Therefore it was removed in order to keep the same logic than for the CD version + // if (_vm->_screen->_vesaMode) { + // _invRefreshFlag = true; + // newDisplayInv(); + // } } int InventoryManager::newDisplayInv() { |