-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix sprite statics conflict #2311
Conversation
GameBuf_Alloc will exit the game if it fails.
Download the built assets for this pull request: |
src/tr1/game/level.c
Outdated
LOG_WARNING( | ||
"sprite %d is already loaded " | ||
"(trying to override %d:%d with %d:%d)", | ||
object_id - O_NUMBER_OF, object_id - O_NUMBER_OF, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is an extra object_id - O_NUMBER_OF
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch – fixed
src/tr2/game/level.c
Outdated
LOG_WARNING( | ||
"sprite %d is already loaded " | ||
"(trying to override %d:%d with %d:%d)", | ||
object_id - O_NUMBER_OF, object_id - O_NUMBER_OF, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here
a695de1
to
f6b10ed
Compare
I'll wait for Nickelony's response in TE Discord before merging. |
Checklist
Description
Resolves #2310.
Testing