# HG changeset patch # User koda # Date 1272742845 0 # Node ID 9b97b9240c2236043c91dce9e81085c8c6d9cb7b # Parent ab9352a4ddccf8442b6f43fea773966551b74b8f fix zoom diff -r ab9352a4ddcc -r 9b97b9240c22 hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Sat May 01 18:44:25 2010 +0000 +++ b/hedgewars/SDLh.pas Sat May 01 19:40:45 2010 +0000 @@ -403,16 +403,17 @@ end; TSDL_MouseButtonEvent = record - which, - button, - state: byte; + {$IFDEF SDL13} _type: LongInt; windowID: LongInt; x, y: LongInt; padding1: byte; {$ELSE} - _type: byte; + _type, + which, + button, + state: byte; x, y: word; {$ENDIF} end;