[Scummvm-cvs-logs] SF.net SVN: scummvm:[41680] scummvm/trunk/engines/sci/gfx/res_view.cpp
waltervn at users.sourceforge.net
waltervn at users.sourceforge.net
Fri Jun 19 20:07:45 CEST 2009
Revision: 41680
http://scummvm.svn.sourceforge.net/scummvm/?rev=41680&view=rev
Author: waltervn
Date: 2009-06-19 18:07:45 +0000 (Fri, 19 Jun 2009)
Log Message:
-----------
SCI: Fix cel1 y-offset regression introduced in r40997.
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/res_view.cpp
Modified: scummvm/trunk/engines/sci/gfx/res_view.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/res_view.cpp 2009-06-19 17:53:25 UTC (rev 41679)
+++ scummvm/trunk/engines/sci/gfx/res_view.cpp 2009-06-19 18:07:45 UTC (rev 41680)
@@ -331,7 +331,7 @@
int yl = READ_LE_UINT16(cel_base + 2);
int pixmap_size = xl * yl;
int xdisplace = isSci11 ? READ_LE_UINT16(cel_base + 4) : (int8) cel_base[4];
- int ydisplace = isSci11 ? READ_LE_UINT16(cel_base + 6) : (int8) cel_base[5];
+ int ydisplace = isSci11 ? READ_LE_UINT16(cel_base + 6) : cel_base[5];
int runlength_offset = isSci11 ? READ_LE_UINT16(cel_base + 24) : 8;
int literal_offset = isSci11 ? READ_LE_UINT16(cel_base + 28) : 8;
gfx_pixmap_t *retval = gfx_pixmap_alloc_index_data(gfx_new_pixmap(xl, yl, id, loop, cel));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list