From ff17899d8ef0a9bf82334819444646b4c323b29e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Feb 2009 21:16:41 +0000 Subject: SCI: Got rid of include/scitypes.h svn-id: r38746 --- engines/sci/gfx/resource/sci_view_1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/gfx/resource/sci_view_1.cpp') diff --git a/engines/sci/gfx/resource/sci_view_1.cpp b/engines/sci/gfx/resource/sci_view_1.cpp index 6da617c7ec..7af584bcfe 100644 --- a/engines/sci/gfx/resource/sci_view_1.cpp +++ b/engines/sci/gfx/resource/sci_view_1.cpp @@ -230,8 +230,8 @@ static int decompress_sci_view_amiga(int id, int loop, int cel, byte *resource, gfx_pixmap_t *gfxr_draw_cel1(int id, int loop, int cel, int mirrored, byte *resource, int size, gfxr_view_t *view, int amiga_game) { int xl = get_int_16(resource); int yl = get_int_16(resource + 2); - int xhot = (gint8) resource[4]; - int yhot = (guint8) resource[5]; + int xhot = (int8) resource[4]; + int yhot = (uint8) resource[5]; int pos = 8; int pixmap_size = xl * yl; gfx_pixmap_t *retval = gfx_pixmap_alloc_index_data(gfx_new_pixmap(xl, yl, id, loop, cel)); -- cgit v1.2.3