Skip to content
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

improvement: stop motor sound after crash #106

Open
yepyepyep4711 opened this issue May 12, 2021 · 1 comment
Open

improvement: stop motor sound after crash #106

yepyepyep4711 opened this issue May 12, 2021 · 1 comment

Comments

@yepyepyep4711
Copy link

as a "feature" from the original game, the motor keeps audibly running at full speed after a crash, up until the car is back on the track. I suggest this be changed to stop after the crash effects stop.

@J1mbo
Copy link

J1mbo commented Oct 20, 2024

Adjust ocrash::crash_switch() in ocrash.cpp around line 260 to match as below (add the 'if' section before do_car_flip):

      // Flip Car
        case 2:
            if (config.engine.fix_bugs) {
                oferrari.rev_pitch1 = 0; // mute engine during crash flips
            }
            do_car_flip();
            break;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants