diff options
author | Bendegúz Nagy | 2016-07-03 03:07:38 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | bd06132072852e7695015cad4373c31893b04934 (patch) | |
tree | dffab906266bb1d4d6397ac9f2ff3a67daf5d26e /engines/dm/objectman.cpp | |
parent | f01a03e91865a4cec1119bb83a5682d8f5f25553 (diff) | |
download | scummvm-rg350-bd06132072852e7695015cad4373c31893b04934.tar.gz scummvm-rg350-bd06132072852e7695015cad4373c31893b04934.tar.bz2 scummvm-rg350-bd06132072852e7695015cad4373c31893b04934.zip |
DM: Box objects are not expected to conatain inclusive boundaries, blitting and other methods adapted
Diffstat (limited to 'engines/dm/objectman.cpp')
-rw-r--r-- | engines/dm/objectman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/objectman.cpp b/engines/dm/objectman.cpp index 2daf3e12bb..1d8b7800bb 100644 --- a/engines/dm/objectman.cpp +++ b/engines/dm/objectman.cpp @@ -209,8 +209,8 @@ void ObjectMan::f38_drawIconInSlotBox(uint16 slotBoxIndex, int16 iconIndex) { Box box; box._x1 = slotBox->_x; box._y1 = slotBox->_y; - box._x2 = box._x1 + 15 + 1; - box._y2 = box._y1 + 15 + 1; + box._x2 = box._x1 + 15; + box._y2 = box._y1 + 15; uint16 iconGraphicIndex; for (iconGraphicIndex = 0; iconGraphicIndex < 7; ++iconGraphicIndex) { |