diff -r a9d509848390 -r 4b4a043111f4 hedgewars/uLandPainted.pas --- a/hedgewars/uLandPainted.pas Tue Feb 11 22:05:03 2014 +0400 +++ b/hedgewars/uLandPainted.pas Wed Feb 12 00:50:15 2014 +0400 @@ -33,6 +33,7 @@ X, Y: SmallInt; flags: byte; end; + PPointRec = ^PointRec; type PPointEntry = ^PointEntry; @@ -45,7 +46,7 @@ procedure chDraw(var s: shortstring); var rec: PointRec; - prec: ^PointRec; + prec: PPointRec; pe: PPointEntry; i, l: byte; begin @@ -53,7 +54,7 @@ l:= length(s); while i < l do begin - prec:= @s[i]; + prec:= PPointRec(@s[i]); rec:= prec^; rec.X:= SDLNet_Read16(@rec.X); rec.Y:= SDLNet_Read16(@rec.Y);