[Scummvm-cvs-logs] SF.net SVN: scummvm: [28683] scummvm/trunk/engines/agos/draw.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Aug 20 22:18:07 CEST 2007
Revision: 28683
http://scummvm.svn.sourceforge.net/scummvm/?rev=28683&view=rev
Author: fingolfin
Date: 2007-08-20 13:18:06 -0700 (Mon, 20 Aug 2007)
Log Message:
-----------
64bit AGOS fix by Mark Weaver
Modified Paths:
--------------
scummvm/trunk/engines/agos/draw.cpp
Modified: scummvm/trunk/engines/agos/draw.cpp
===================================================================
--- scummvm/trunk/engines/agos/draw.cpp 2007-08-20 20:00:40 UTC (rev 28682)
+++ scummvm/trunk/engines/agos/draw.cpp 2007-08-20 20:18:06 UTC (rev 28683)
@@ -503,8 +503,8 @@
if (_window3Flag == 1) {
animTable->srcPtr = (const byte *)_window4BackScn;
} else {
- uint xoffs = (_videoWindows[vsp->windowNum * 4 + 0] * 2 + x) * 8;
- uint yoffs = (_videoWindows[vsp->windowNum * 4 + 1] + y);
+ int xoffs = (_videoWindows[vsp->windowNum * 4 + 0] * 2 + x) * 8;
+ int yoffs = (_videoWindows[vsp->windowNum * 4 + 1] + y);
animTable->srcPtr = getBackGround() + xoffs + yoffs * _screenWidth;
}
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