From 485d5f94de671aa28017edca2c4725fc09c796c4 Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Tue, 21 Jun 2016 20:32:08 +0200 Subject: DM: Fix box coordinates in drawChampionState --- engines/dm/champion.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/dm') diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp index ca5c6acc83..d41429e817 100644 --- a/engines/dm/champion.cpp +++ b/engines/dm/champion.cpp @@ -383,9 +383,9 @@ void ChampionMan::drawChampionState(ChampionIndex champIndex) { dispMan._useByteBoxCoordinates = false; if (champAttributes & kChampionAttributeStatusBox) { box._y1 = 0; - box._y2 = 28; + box._y2 = 28 + 1; box._x1 = champStatusBoxX; - box._x2 = box._x1 + 66; + box._x2 = box._x1 + 66 + 1; if (champ->_currHealth) { dispMan.clearScreenBox(kColorDarkestGray, box); int16 nativeBitmapIndices[3]; @@ -432,9 +432,9 @@ void ChampionMan::drawChampionState(ChampionIndex champIndex) { champAttributes |= kChampionAttributeViewport; } else { box._y1 = 0; - box._y2 = 6; + box._y2 = 6 + 1; box._x1 = champStatusBoxX; - box._x2 = box._x1 + 42; + box._x2 = box._x1 + 42 + 1; dispMan.clearScreenBox(kColorDarkGary, box); warning("MISSING CODE: F0053_TEXT_PrintToLogicalScreen"); } -- cgit v1.2.3