From 948cb0d0f77170fdbc1b80b07feea7b9794751bc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 6 Jan 2006 10:45:42 +0000 Subject: Implemented the end sequence, (only the rest of the winning end sequence is missing yet and one text part that malcolm says). => Kyra *should* be completeable now. Also used KyraEngine:: in all debug calls from the KyraEngine class. And fixes a bug while drawing shapes. svn-id: r19928 --- kyra/sprites.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kyra/sprites.cpp') diff --git a/kyra/sprites.cpp b/kyra/sprites.cpp index f83b53d083..6cec958014 100644 --- a/kyra/sprites.cpp +++ b/kyra/sprites.cpp @@ -88,7 +88,7 @@ void Sprites::setupSceneAnims() { data += 4; _anims[i].y = READ_LE_UINT16(data); data += 4; - _anims[i].width = *(data); + _anims[i].width = (*(data) >> 3) + 1; data += 4; _anims[i].height = *(data); data += 4; @@ -107,7 +107,7 @@ void Sprites::setupSceneAnims() { _anims[i].script = data; - int bkgdWidth = _anims[i].width; + int bkgdWidth = _anims[i].width << 3; int bkgdHeight = _anims[i].height; if (_anims[i].width2) -- cgit v1.2.3