Fixed gamepad/joystick axes using SDL 1.2
authorzuloo
Sat, 21 Aug 2010 17:19:52 +0200
changeset 3748 daea2650a5aa
parent 3747 76a197793b62
child 3749 d0920e92008e
Fixed gamepad/joystick axes using SDL 1.2
hedgewars/SDLh.pas
--- a/hedgewars/SDLh.pas	Fri Aug 20 11:54:14 2010 -0400
+++ b/hedgewars/SDLh.pas	Sat Aug 21 17:19:52 2010 +0200
@@ -465,7 +465,7 @@
 {$IFDEF SDL13}
         value: LongInt;
 {$ELSE}
-        value: word;
+        value: Smallint;
 {$ENDIF}
         end;
 
@@ -477,7 +477,7 @@
         xrel, yrel: LongInt;
 {$ELSE}
         type_: Byte;
-        xrel, yrel: word;
+        xrel, yrel: Smallint;
 {$ENDIF}
         end;