hedgewars/uLand.pas
changeset 3239 ac829895edfc
parent 3236 4ab3917d7d44
child 3242 d8adb26ea6a9
--- a/hedgewars/uLand.pas	Thu Apr 01 16:34:20 2010 +0000
+++ b/hedgewars/uLand.pas	Thu Apr 01 16:44:56 2010 +0000
@@ -68,7 +68,7 @@
     s: shortstring;
 begin
 SHA1Init(ctx);
-SHA1UpdateLongwords(ctx, @Land, sizeof(Land) div 4);
+SHA1UpdateLongwords(ctx, @Land, sizeof(Land));
 dig:= SHA1Final(ctx);
 s:='M{'+inttostr(dig[0])+':'
        +inttostr(dig[1])+':'