Fix APC/BIGAPC wheels when player wasted equivalent cop car in previous race#428
Open
b-kurczynski wants to merge 1 commit into
Open
Fix APC/BIGAPC wheels when player wasted equivalent cop car in previous race#428b-kurczynski wants to merge 1 commit into
b-kurczynski wants to merge 1 commit into
Conversation
b-kurczynski
force-pushed
the
fix_apc_wheels
branch
2 times, most recently
from
January 7, 2025 19:00
b17e2a7 to
65d3a92
Compare
| // Player's APC/BIGAPC wheels got stuck if the equivalent cop car was wasted in previous race | ||
| if(strcmp(gProgram_state.car_name, "APC.TXT") == 0 || | ||
| strcmp(gProgram_state.car_name, "BIGAPC.TXT") == 0) { | ||
| AboutToLoadFirstCar(); |
Owner
There was a problem hiding this comment.
I don't think this is required, or the calls to switch resolution, or SetCarStorageTexturingLevel.
could you try without these?
Contributor
Author
There was a problem hiding this comment.
b-kurczynski
force-pushed
the
fix_apc_wheels
branch
from
December 16, 2025 20:27
65d3a92 to
c0c91bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a fix to a bug which existed in original game. If player wasted a cop car driving a cop car then in next race player's APC wheels do not rotate nor turn in any direction. The same applies in case Suppressor is wasted by Suppressor.
The fix works by reloading player's car when race is loading in case of APC or BIGAPC is being driven. The reload routine is a fork of >>this<< part.