diff options
author | Bendegúz Nagy | 2016-06-21 20:32:08 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 485d5f94de671aa28017edca2c4725fc09c796c4 (patch) | |
tree | 77e9cf96a439e29d8af5d572f11e7407a496c15a | |
parent | 4b83ebc0da2a2bb46c2435ddfe96c333b7cbd8ed (diff) | |
download | scummvm-rg350-485d5f94de671aa28017edca2c4725fc09c796c4.tar.gz scummvm-rg350-485d5f94de671aa28017edca2c4725fc09c796c4.tar.bz2 scummvm-rg350-485d5f94de671aa28017edca2c4725fc09c796c4.zip |
DM: Fix box coordinates in drawChampionState
-rw-r--r-- | engines/dm/champion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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");
}
|