# HG changeset patch # User nemo # Date 1270140296 0 # Node ID ac829895edfc0c28f6dbbeaf1d5e9230ad343403 # Parent e99a43a2405b60e8b35f441c83b6c7fa0d9b8bb1 this was not checking all of Land[] diff -r e99a43a2405b -r ac829895edfc hedgewars/uLand.pas --- 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])+':'