[gcompris-devel] Small fix in pause_board

bruno bruno.coudoin at free.fr
Sun Dec 2 12:45:11 UTC 2001


Yes, that makes sense.
An emacs macro on all the boards will fix that ;)


On dim, 2001-12-02 at 20:05, pgeorges wrote:
> 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.
> 
> 
> 
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel






More information about the Gcompris-devel mailing list