[Scummvm-cvs-logs] scummvm master -> 4137128cf65b96f942d70e8456968d4bab105117
johndoe123
benjamin.haisch at t-online.de
Thu Jan 9 15:34:16 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4137128cf6 NEVERHOOD: Fix sprite shadows (e.g. when on top in module 1000, scene 1)
Commit: 4137128cf65b96f942d70e8456968d4bab105117
https://github.com/scummvm/scummvm/commit/4137128cf65b96f942d70e8456968d4bab105117
Author: johndoe123 (john_doe at techie.com)
Date: 2014-01-09T06:33:47-08:00
Commit Message:
NEVERHOOD: Fix sprite shadows (e.g. when on top in module 1000, scene 1)
Changed paths:
engines/neverhood/graphics.cpp
diff --git a/engines/neverhood/graphics.cpp b/engines/neverhood/graphics.cpp
index 4909590..e976844 100644
--- a/engines/neverhood/graphics.cpp
+++ b/engines/neverhood/graphics.cpp
@@ -299,11 +299,11 @@ void unpackSpriteRle(const byte *source, int width, int height, byte *dest, int
}
source += copy;
}
- dest += destPitch;
if (replaceColors)
for (int xc = 0; xc < width; xc++)
if (dest[xc] == oldColor)
dest[xc] = newColor;
+ dest += destPitch;
}
}
rows = READ_LE_UINT16(source);
More information about the Scummvm-git-logs
mailing list