-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cops car is not rendered on damage gallery #208
Comments
@madebr @dethrace-labs dethrace/src/BRSRC13/CORE/V1DB/prepmesh.c Lines 683 to 694 in 889e7ba
Squad Car is a bit special, because it is the only car that doesn't have damage model [1]. As such, the code deals with it explicitly: dethrace/src/DETHRACE/common/loading.c Lines 1690 to 1694 in 889e7ba
Here Same wrong assumptions are made here: dethrace/src/DETHRACE/common/loading.c Lines 2230 to 2231 in 889e7ba
and here: dethrace/src/DETHRACE/common/loading.c Line 2238 in 889e7ba
I don't have the OG assembly to confirm where this issue stems from, but it sounds like the When said flags are forcibly set, Squad Car ends up being rendered correctly: |
Fix OG bug, where APC car would have its vertices and faces removed, preventing it from being rendered in the wreck gallery. Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Finish race with cop car and go to damage gallery, it won't be displayed:
The text was updated successfully, but these errors were encountered: