From 3c1e2686b8e8ad36f1cdc3bb2afebd7f9de72845 Mon Sep 17 00:00:00 2001 From: athrxx Date: Tue, 14 Feb 2012 23:41:21 +0100 Subject: KYRA: (EOB) - fix minor sprite drawing glitch in EOB1 (some sprites were drawn one pixel too far to the right) --- engines/kyra/sprites_eob.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/kyra/sprites_eob.cpp b/engines/kyra/sprites_eob.cpp index 068647aeec..5c679f5cb4 100644 --- a/engines/kyra/sprites_eob.cpp +++ b/engines/kyra/sprites_eob.cpp @@ -335,6 +335,8 @@ const int16 *EoBCoreEngine::findBlockMonsters(uint16 block, int pos, int dir, in void EoBCoreEngine::drawBlockObject(int flipped, int page, const uint8 *shape, int x, int y, int sd, uint8 *ovl) { const ScreenDim *d = _screen->getScreenDim(sd); + if (_flags.gameID == GI_EOB1) + x &= ~1; _screen->drawShape(page, shape, x - (d->sx << 3), y - d->sy, sd, flipped | (ovl ? 2 : 0), ovl); } -- cgit v1.2.3