@ -1,4 +1,7 @@
$Id: ChangeLog,v 1.104 2005/07/06 13:11:51 stpohle Exp $
$Id: ChangeLog,v 1.105 2005/08/07 17:58:04 stpohle Exp $
- Fixed: High CPU usage in menus.
This fix was made by Chris E..
- Fixed: Bug with more as 8 diffrent player graphics.
The window size hasen't changed if there where more as
8 different player graphics to choose from.
@ -1,4 +1,4 @@
/* $Id: game.c,v 1.113 2005/08/07 17:46:21 stpohle Exp $
/* $Id: game.c,v 1.114 2005/08/07 17:58:05 stpohle Exp $
game.c - procedures for the game. */
#include <string.h>
@ -257,7 +257,7 @@ game_loop ()
}
while (!done && (bman.state == GS_running || bman.state == GS_ready)) {
if ((eventstate = s_fetchevent (&event)) != 0)
if ((eventstate = SDL_PollEvent (&event)) != 0)
switch (event.type) {
case (SDL_QUIT):
done = 1;
/* $Id: menu.c,v 1.51 2005/08/07 17:46:21 stpohle Exp $
/* $Id: menu.c,v 1.52 2005/08/07 17:58:05 stpohle Exp $
* Menuhandling */
#include "basic.h"
@ -540,7 +540,7 @@ menu_loop (_menu * menu)
eventstate = s_fetchevent (&event);
done = menu_event_loop (menu, &event, eventstate);
s_calctimesync ();