aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/objectman.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-03 03:07:38 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitbd06132072852e7695015cad4373c31893b04934 (patch)
treedffab906266bb1d4d6397ac9f2ff3a67daf5d26e /engines/dm/objectman.cpp
parentf01a03e91865a4cec1119bb83a5682d8f5f25553 (diff)
downloadscummvm-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.cpp4
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) {