aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-08-10 21:05:28 +0530
committerEugene Sandulenko2019-09-03 17:17:33 +0200
commitfb95542a860d9633902e4b249b213c0e855e7340 (patch)
treeb688065f359f5526ae2b3963a285473dd587c384
parent53534edc8fe31c5d640328a083506bbe5b0dacb0 (diff)
downloadscummvm-rg350-fb95542a860d9633902e4b249b213c0e855e7340.tar.gz
scummvm-rg350-fb95542a860d9633902e4b249b213c0e855e7340.tar.bz2
scummvm-rg350-fb95542a860d9633902e4b249b213c0e855e7340.zip
HDB: Fix drawDeliveries()
-rw-r--r--engines/hdb/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index 9a3c1b77fd..9b55d262ce 100644
--- a/engines/hdb/window.cpp
+++ b/engines/hdb/window.cpp
@@ -1444,7 +1444,7 @@ void Window::drawDeliveries() {
// Draw delivery items
int inv;
- for (inv = 0; inv < g_hdb->_ai->getInvAmount(); inv++) {
+ for (inv = 0; inv < g_hdb->_ai->getDeliveriesAmount(); inv++) {
d = g_hdb->_ai->getDeliveryItem(inv);
if (_dlvsInfo.animate && inv == g_hdb->_ai->getDeliveriesAmount() - 1) {
if (_dlvsInfo.go1) {