etracer team mailing list archive
-
etracer team
-
Mailing list archive
-
Message #00000
[Bug 218799] It's player data not highscores
Sorry, I reported the bug wrong. The original protection in
highscore.cpp works, highscores are not lost.
It's the best time, herring count and best score for each practice
course that is lost, and also the status of each cup.
player.cpp needs protection similar to what is in highscore.cpp
--
If program startup fails, highscores 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.