hedgewars/uLandTemplates.pas
changeset 7556 4617e8ec0507
parent 7480 536f5f3260f1
child 7563 09a44c8fbfba
--- 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;