diff options
author | Nipun Garg | 2019-08-16 11:41:18 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:34 +0200 |
commit | e1f05066426622f2ff42782e229209e2c368d53d (patch) | |
tree | 25d6fe79852ab26b425e14c1a92b7e4f443d4c8f /engines/hdb | |
parent | a5f66ed1fe6f90857de53d84ee0f56932445bfac (diff) | |
download | scummvm-rg350-e1f05066426622f2ff42782e229209e2c368d53d.tar.gz scummvm-rg350-e1f05066426622f2ff42782e229209e2c368d53d.tar.bz2 scummvm-rg350-e1f05066426622f2ff42782e229209e2c368d53d.zip |
HDB: Fix drawDeliveries() when carrying 2...
... or more delivery items
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp index e2ca2c2dcb..929a366052 100644 --- a/engines/hdb/window.cpp +++ b/engines/hdb/window.cpp @@ -1439,7 +1439,7 @@ void Window::drawDeliveries() { // Draw delivery items int inv = 0; - for (; inv < g_hdb->_ai->getInvAmount(); inv++) { + for (; inv < g_hdb->_ai->getDeliveriesAmount(); inv++) { DlvEnt *d = g_hdb->_ai->getDeliveryItem(inv); if (_dlvsInfo.animate && inv == g_hdb->_ai->getDeliveriesAmount() - 1) { if (_dlvsInfo.go1) { |