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

level: fix reading mesh radius #2408

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

lahm86
Copy link
Collaborator

@lahm86 lahm86 commented Jan 28, 2025

Resolves #2407.

Checklist

  • I have read the coding conventions
  • I have added a changelog entry about what my pull request accomplishes, or it is an internal change
  • I have added a readme entry about my new feature or OG bug fix, or it is a different change

Description

This fixes interpreting mesh radii as int32 rather than int16. This bug has been around for a while, but no meshes have caused us an issue so far. The original code would only assign the first int16 from the raw data array for such things as sphere radii.

This fixes interpreting mesh radii as int32 rather than int16.

Resolves LostArtefacts#2407.
@lahm86 lahm86 added TRX bug A bug with TRX Unreleased Applies to things that aren't in a stable release. TR2 labels Jan 28, 2025
@lahm86 lahm86 self-assigned this Jan 28, 2025
@lahm86 lahm86 requested review from a team as code owners January 28, 2025 22:25
@lahm86 lahm86 requested review from rr-, walkawayy and aredfan and removed request for a team January 28, 2025 22:25
@lahm86 lahm86 merged commit 98652bf into LostArtefacts:develop Jan 29, 2025
8 checks passed
@lahm86 lahm86 deleted the issue-2407-mesh-radius-fix branch January 29, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TR2 TRX bug A bug with TRX Unreleased Applies to things that aren't in a stable release.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

TR2X bug: impassable doors in Diving Area
4 participants