hedgewars/uLand.pas
changeset 12758 49c31d8cc740
parent 12711 20dbb3a03e61
child 13272 5984e8c6cbeb
--- a/hedgewars/uLand.pas	Tue Oct 24 21:59:06 2017 +0200
+++ b/hedgewars/uLand.pas	Tue Oct 24 18:28:59 2017 -0400
@@ -985,7 +985,7 @@
 var i: LongInt;
 begin
     for i:= 0 to LAND_HEIGHT-1 do
-        syncedPixelDigest:= Adler32Update(syncedPixelDigest, @Land[i,0], LAND_WIDTH);
+        syncedPixelDigest:= Adler32Update(syncedPixelDigest, @Land[i,0], LAND_WIDTH*2);
     s:= 'M' + IntToStr(syncedPixelDigest); // + cScriptName; script name is no longer needed. scripts are hashed
 
     ScriptSetString('LandDigest', s);