Description of problem: When I play xmoto in f9, restarting a level works. When I play xmoto in f10 (rawhide) if I press enter or play level again after failing a level, xmoto quits. Version-Release number of selected component (if applicable): xmoto-0.4.2-3.fc10.i386 How reproducible: Every time.
Can you run this from a terminal, and report any error messages? A stack trace would also be helpful. Thanks!
[rodd@moose ~]$ xmoto ODE INTERNAL ERROR 1: assertion "g_bODEInitialized" failed in dCloseODE() [odeinit.cpp] Aborted [rodd@moose ~]$ If this isn't enough, then I might need a little reminding how to get a stack trace. (It's been a while ;-[)
Checking with the ODE maintainer, to see if my patch is bollocks. . .
Interesting xmoto was already calling CloseOde() upon destruction of the BikePlayer object, but not initOde, as it was doing this initOde needs to be called from the BikePlayer init routine instead of from main, so that it gets initialized each time the BikePlayer gets reset (as it first gets closed then). I've just committed a new patch doing this to CVS and a fixed xmoto is building now, closing this.
Thanks, Hans!