--- a/hedgewars/uLandTemplates.pas Sat Aug 18 01:20:29 2012 +0200
+++ b/hedgewars/uLandTemplates.pas Sat Aug 18 13:21:37 2012 +0200
@@ -24,10 +24,12 @@
const NTPX = Low(SmallInt);
-type TPointArray = array[0..64] of TSDL_Rect;
+type TRectArray = array[0..64] of TSDL_Rect;
+ PRectArray = ^TRectArray;
+ TPointArray = array[0..64] of TPoint;
PPointArray = ^TPointArray;
TEdgeTemplate = record
- BasePoints: PPointArray;
+ BasePoints: PRectArray;
BasePointsCount: Longword;
FillPoints: PPointArray;
FillPointsCount: Longword;