New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash bug in time trial #15
Comments
Spent some more time on it. If I skip that line and keep going, it'll eventually call OInitEngine::setup_state1() which will properly set it up. A fix is just to give lap_ms a default value in OStats's constructor. I used LAP_MS_64 but I don't think it really make a difference because it gets set properly as soon as the engine gets initialized. |
Time Trial crashes on my 32 bits windows 7 pc too. |
I tried to play Time Trial in a 64 bits system and the game still crashes. |
Will this ever get patched? I was able to fix it by following djcouchycouch's advice, but it's odd this issue was never resolved after almost 3 years @Thesch28 |
Hello everyone. Yes, I haven't read any of these comments for years. Sorry about that. |
If you switch to original mode then back to enhanced, time trial loads |
Hi,
After building on Win32 x86, if I run the game and go straight into time trial mode, it crashes.
The crash is located in outs.cpp, line 206.
converted[2] = ostats.lap_ms[ms_lookup];
It occurs because lap_ms hasn't been setup yet. It's null. OStats::clear_stage_times() hasn't been called yet. But if I go into the game first (which calls the function) and then go back to time trail, it works.
Thanks,
djcc
The text was updated successfully, but these errors were encountered: