← Back to team overview

etracer team mailing list archive

[Bug 218799] Re: If program startup fails, player data are lost.

 

Fixed as of rev 105.

** Changed in: etracer
       Status: In Progress => Fix Committed

-- 
If program startup fails, player data are lost.
https://bugs.launchpad.net/bugs/218799
You received this bug notification because you are a member of Extreme
Tux Racer Team, which is the registrant for Extreme Tux Racer.

Status in Extreme Tux Racer: Fix Committed

Bug description:
I upgraded to Fedora 9's mesa/Xserver, under which etracer will fail to start if the "stencil_buffer" option is true. I'm using the r300_dri driver.

Unfortunately, this caused all my high scores to be lost.

I had a quick look at the code, and the problem is that the highscores are saved in handle_system_error/winsys_exit, but they haven't been loaded yet if the failure is from winsys_init/setup_sdl_video_mode during program startup.