aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/access/inventory.cpp12
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() {