[Super-tux-commit] supertux/lib/app globals.cpp,1.12,1.13
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2004-11-26 13:56:47
|
Update of /cvsroot/super-tux/supertux/lib/app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20618/lib/app Modified Files: globals.cpp Log Message: fixed broken 1-time animations in sprites, fixed collision code returning no-collision if both objects didn't move, some cleanups Index: globals.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/lib/app/globals.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- globals.cpp 24 Nov 2004 18:22:21 -0000 1.12 +++ globals.cpp 26 Nov 2004 13:56:23 -0000 1.13 @@ -70,7 +70,8 @@ SDL_Joystick * js; /* Returns 1 for every button event, 2 for a quit event and 0 for no event. */ -int wait_for_event(SDL_Event& event,unsigned int min_delay, unsigned int max_delay, bool empty_events) +int wait_for_event(SDL_Event& event, unsigned int min_delay, + unsigned int max_delay, bool empty_events) { int i; Timer maxdelay; |