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

Fix: soh otr asset building not detecting textures on windows #2702

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Apr 13, 2023

The process for detecting custom textures was stripping of the format and extension, but storing them as pointers instead of the string value itself. In the if condition this was making the comparisons against extension and format fail on windows (not sure why it was fine for mac/linux.

I changed them to just be const strings now and soh.otr is building correctly on windows.
Also made sure we are deleting the old soh.otr when re-running asset extraction.

Build Artifacts

@briaguya-ai
Copy link
Contributor

tested and working locally in debug on linux

@briaguya-ai briaguya-ai merged commit 660c3ec into HarbourMasters:develop Apr 13, 2023
9 checks passed
@Archez Archez deleted the fix-soh-otr-bad-textures branch April 13, 2023 22:41
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.

None yet

2 participants