hedgewars/uLandTemplates.pas
changeset 6553 91365db8b82c
parent 6552 91adc9ee7b8c
child 6554 a262ef09c7e6
--- a/hedgewars/uLandTemplates.pas	Sat Jan 07 00:10:47 2012 +0400
+++ b/hedgewars/uLandTemplates.pas	Mon Jan 09 00:50:39 2012 -0500
@@ -22,7 +22,12 @@
 interface
 uses SDLh;
 
+{$IFDEF SDL13}
 const NTPX = Low(LongInt);
+{$ELSE}
+const NTPX = Low(SmallInt);
+{$ENDIF}
+
 
 type PPointArray = ^TPointArray;
      TPointArray = array[0..64] of TSDL_Rect;