aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/draci/font.cpp7
-rw-r--r--engines/draci/game.cpp2
2 files changed, 2 insertions, 7 deletions
diff --git a/engines/draci/font.cpp b/engines/draci/font.cpp
index dcd312a280..a3a261e293 100644
--- a/engines/draci/font.cpp
+++ b/engines/draci/font.cpp
@@ -179,12 +179,7 @@ void Font::drawChar(Surface *dst, uint8 chr, int tx, int ty, bool markDirty) con
}
// Paint pixel (if not transparent)
- // HACK: Temporary turned off transparency because the dragon's colour of the
- // font appears to be 255 (which should be transparent).
- // This would not be a problem if the font background was also not colour
- // 255 (apparently) so I don't know how to handle the background being
- // transparent and at the same time a non-transparent font body.
- //if (colour != _transparent)
+ if (colour != _transparent)
ptr[x] = colour;
}
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 58eb10a0ce..08207d4574 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -54,7 +54,7 @@ Game::Game(DraciEngine *vm) : _vm(vm) {
for (i = 0; i < numPersons; ++i) {
_persons[i]._x = personData.readUint16LE();
_persons[i]._y = personData.readUint16LE();
- _persons[i]._fontColour = personData.readByte();
+ _persons[i]._fontColour = personData.readByte() - 1;
}
// Close persons file