changeset 6329 | 9eb6c4a8d633 |
parent 6327 | 1a69a0d52d32 |
child 6334 | b05d3af9a58e |
--- a/hedgewars/hwengine.pas Sat Nov 12 10:44:10 2011 -0500 +++ b/hedgewars/hwengine.pas Sat Nov 12 11:02:02 2011 -0500 @@ -156,7 +156,7 @@ while isTerminated = false do begin SDL_PumpEvents(); - while SDL_PeepEvents(@event, 1, SDL_GETEVENT, {$IFDEF SDL13}SDL_FIRSTEVENT, SDL_LASTEVENT{$ELSE}HW_EVENT_MASK{$ENDIF}) > 0 do + while SDL_PeepEvents(@event, 1, SDL_GETEVENT, {$IFDEF SDL13}SDL_FIRSTEVENT, SDL_LASTEVENT{$ELSE}SDL_ALLEVENTS{$ENDIF}) > 0 do begin case event.type_ of {$IFDEF SDL13}