diff options
Diffstat (limited to 'engines/sci/gfx/resource/sci_view_1.cpp')
-rw-r--r-- | engines/sci/gfx/resource/sci_view_1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |