hedgewars/SDLh.pas
changeset 2251 bf0b59d3536a
parent 2248 26e11cb27c61
child 2252 03fd99dff989
--- a/hedgewars/SDLh.pas	Fri Jul 10 16:56:37 2009 +0000
+++ b/hedgewars/SDLh.pas	Fri Jul 10 19:10:29 2009 +0000
@@ -110,8 +110,12 @@
 
 type PSDL_Rect = ^TSDL_Rect;
      TSDL_Rect = record
+		    {$IFDEF SDL13}
+                 x, y, w, h: LongInt;
+		    {$ELSE}
                  x, y: SmallInt;
                  w, h: Word;
+            {$ENDIF}
                  end;
 
      TPoint = record