[gcompris-devel] Small fix in pause_board
pgeorges
pascal.georges1 at free.fr
Sun Dec 2 11:37:01 UTC 2001
Here is the way the function should be written :
static void pause_board (gboolean pause)
{
if(gcomprisBoard==NULL)
return;
if(gamewon == TRUE && pause == FALSE) /* the game is won */
{
game_won();
}
board_paused = pause;
}
notice the added test 'pause == FALSE'. Could Bruno confirm this is OK ?
If so, all boards should be corrected.
And then, when the plane flies through the door, it's like Bruno wanted
it : it occurs after the end of the bonus display.
Pascal.
More information about the Gcompris-devel
mailing list