From 3145ee5379044785fde3bc897b46f236d5797be9 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 11 Jan 2010 20:31:12 +0000 Subject: SCI: changed displaceY and displaceX for cels to int16, also inserted cast to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems svn-id: r47257 --- engines/sci/graphics/view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/graphics/view.h') diff --git a/engines/sci/graphics/view.h b/engines/sci/graphics/view.h index 5a0791a2a4..f339ca077e 100644 --- a/engines/sci/graphics/view.h +++ b/engines/sci/graphics/view.h @@ -30,8 +30,8 @@ namespace Sci { struct CelInfo { int16 width, height; - char displaceX; - byte displaceY; + int16 displaceX; + int16 displaceY; byte clearKey; uint16 offsetEGA; uint16 offsetRLE; -- cgit v1.2.3