diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hugo/game.h | 2 | ||||
-rw-r--r-- | engines/hugo/inventory.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/game.h b/engines/hugo/game.h index b0bfe82e0b..488f667bee 100644 --- a/engines/hugo/game.h +++ b/engines/hugo/game.h @@ -66,7 +66,7 @@ namespace Hugo { #define VIEW_DY 184 // Height of window view #define INV_DX 32 // Width of an inventory icon #define INV_DY 32 // Height of inventory icon -#define DIBOFF_Y 8 // Offset into dib SrcY (old status line area) +#define DIBOFF_Y 0 // Offset into dib SrcY (old status line area). In original game: 8 #define OVL_SIZE (XBYTES * YPIX) // Size of an overlay file #define MAX_SEQUENCES 4 // Number of sequences of images in object #define MAX_CHARS (XBYTES - 2) // Max length of user input line diff --git a/engines/hugo/inventory.cpp b/engines/hugo/inventory.cpp index 43a05d1d86..19995d3650 100644 --- a/engines/hugo/inventory.cpp +++ b/engines/hugo/inventory.cpp @@ -207,7 +207,7 @@ void InventoryHandler::runInventory() { } gameStatus.inventoryHeight += STEP_DY; // Move the icon bar down - if (gameStatus.inventoryHeight >= INV_DY) // Limit travel + if (gameStatus.inventoryHeight > INV_DY) // Limit travel gameStatus.inventoryHeight = INV_DY; // Move visible portion to _frontBuffer, display results |