From 796c40dc593dea8ea72bff6c0eee96a3d144f550 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 24 Aug 2016 07:00:39 +0200 Subject: DIRECTOR: Add more width corrections for Apartment demo These are the widths for the taxi. 1110 doesn't actually need a correction to be drawn right, but 96 makes more sense than 90 if I decode the image by hand. It may be worth noting that all three sprite widths are multiples of 8, and that one of them was already a multiple of 8, but I still needed to add 8 to it. (This would suggest that w = (w & ~7) + 8 would yield the correct width for everything, except it doesn't so scratch that idea.) --- engines/director/frame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 7e272d16a0..018cb7983c 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -528,6 +528,9 @@ static const int corrections[] = { 1041, 110, 110, // descr 1042, 120, 121, // descr 2 1065, 27, 27, // car + 1109, 104, 112, // taxi + 1110, 90, 96, // taxi + 1111, 74, 80, // taxi 0, 0, 0 }; -- cgit v1.2.3