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

Added WINDOW flag to trunk doors #39933

Merged
merged 1 commit into from
Apr 27, 2020

Conversation

enaantd
Copy link
Contributor

@enaantd enaantd commented Apr 26, 2020

Summary

SUMMARY: Bugfixes "add WINDOW flag to trunk doors"

Purpose of change

Trunk doors didn't have the WINDOW flag, despite their description saying that we can see through them. It is now possible to install curtains on a trunk door, and make a vehicle with a trunk impermeable to light.

Describe the solution

Added the WINDOW flag to door_trunk and hddoor_trunk.

Describe alternatives you've considered

Not adding the flag if for some reason curtains can't be installed on trunk door windows.

Testing

I spawned a car and a humvee in game and could install curtains on their trunk doors.

Additional context

While looking through the flags I noticed that the LOW_FINAL_AIR_DRAG and NO_ROOF_NEEDED flags are used in the code but not documented in doc/JSON_FLAGS.md.

@Rivet-the-Zombie Rivet-the-Zombie merged commit 4ef7081 into CleverRaven:master Apr 27, 2020
@enaantd enaantd deleted the fix-trunk-windows branch May 13, 2020 21:16
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.

2 participants