[Scummvm-cvs-logs] SF.net SVN: scummvm:[43200] scummvm/trunk/engines/kyra/screen_lok.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Aug 10 04:32:19 CEST 2009
Revision: 43200
http://scummvm.svn.sourceforge.net/scummvm/?rev=43200&view=rev
Author: lordhoto
Date: 2009-08-10 02:32:19 +0000 (Mon, 10 Aug 2009)
Log Message:
-----------
Fix bug when setting up mouse cursor with inventory palette.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/screen_lok.cpp
Modified: scummvm/trunk/engines/kyra/screen_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen_lok.cpp 2009-08-10 01:34:46 UTC (rev 43199)
+++ scummvm/trunk/engines/kyra/screen_lok.cpp 2009-08-10 02:32:19 UTC (rev 43200)
@@ -245,9 +245,11 @@
pitch -= width;
for (int y = 0; y < height; ++y) {
- for (int x = 0; x < width; ++x)
+ for (int x = 0; x < width; ++x) {
if (*data != _cursorColorKey)
- *data++ += 32;
+ *data += 32;
+ ++data;
+ }
data += pitch;
}
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