I have an issue to check and exit when game is over. I provide the sources and compiled game in the following archive:
During the game, i check if players are able to play. If no, i display the score and then exit. Actually, that's what i would like to do, not what's happen....
Line 347, there's a process to display score and exit game (called "Display_results();"). If this process is commented, everything is fine, the program always works and detects when game is over.
But if this line is not commented, the game doesn't even start!!! It exits just after the menu, even if the exit condition is false!!
I don't understand at all!
Could someone give me a hand please!
Edited by GuZzO, 28 September 2010 - 07:11 AM.