--- 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