changeset 12763 | 49c31d8cc740 |
parent 12716 | 20dbb3a03e61 |
child 12764 | df9d9d19406a |
--- a/hedgewars/uStore.pas Tue Oct 24 21:59:06 2017 +0200 +++ b/hedgewars/uStore.pas Tue Oct 24 18:28:59 2017 -0400 @@ -473,7 +473,7 @@ {$ELSE} if checkSum then for y := 0 to tmpsurf^.h-1 do - syncedPixelDigest:= Adler32Update(syncedPixelDigest, @PLongWordArray(tmpsurf^.pixels)^[y*tmpsurf^.w], tmpsurf^.w); + syncedPixelDigest:= Adler32Update(syncedPixelDigest, @PByteArray(tmpsurf^.pixels)^[y*tmpsurf^.pitch], tmpsurf^.w); if saveSurf then Surface:= tmpsurf