Skip to content

Fix #4070: Prevent vehicle tuning models from spinning when created via createBuilding - #5360

Open
iManGaaX wants to merge 1 commit into
multitheftauto:masterfrom
iManGaaX:resolve/issue-4070
Open

Fix #4070: Prevent vehicle tuning models from spinning when created via createBuilding#5360
iManGaaX wants to merge 1 commit into
multitheftauto:masterfrom
iManGaaX:resolve/issue-4070

Conversation

@iManGaaX

Copy link
Copy Markdown
Contributor

This PR fix vehicle tuning models (e.g. exh_*) spinning endlessly. Their model info flags get misread as special types (like CRANE) in LoadObjectInstance, causing PreRender to rewrite their matrix each frame.

Closes #4070.

Before ->

2026-09-11.03-38-30.mp4

After ->

2026-09-11.03-39-32.mp4

Checklist

  • Your code should follow the coding guidelines.
  • Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.

@iManGaaX iManGaaX changed the title Fix #4070: Fix spinning vehicle tuning models Fix #4070: Prevent vehicle tuning models from spinning when created via createBuilding Sep 11, 2026
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

Successfully merging this pull request may close these issues.

Certain model IDs rotate constantly when created with createBuilding instead of createObject.

1 participant