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 equipment set filter on retail WoW #129

Closed
wants to merge 1 commit into from

Conversation

Elberet
Copy link
Contributor

@Elberet Elberet commented Jul 26, 2024

This should fix #127

On retail, the UnpackItemLocation API function still returns a flag for items in void storage.

@doadin
Copy link
Owner

doadin commented Jul 26, 2024

little bit of a style change but merged here: 8b91a76 thanks!

@doadin doadin closed this Jul 26, 2024
@Elberet
Copy link
Contributor Author

Elberet commented Jul 26, 2024

Eh, it's more than a style-change tho? I really didn't like those repeated version checks, which was the entire reason for extracting the UnpackItemLocation call into a function. ☹️

@doadin
Copy link
Owner

doadin commented Jul 26, 2024

@Elberet I guess maybe not really "style" but its functionly the same. Idk. To me I didn't like how it looked. Also the way you had it it still uses version checks so, doesnt really add more function calls? Thats why I thought of it as more of a style change. Idk, if you think I should change it back let me know, doesnt seem to make a difference to me.

@Elberet
Copy link
Contributor Author

Elberet commented Jul 26, 2024

Nah, it's fine. In this context, it's mostly an irrelevant micro-optimization, and keeping the code readable is probably more desirable.

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.

Version 5.4.8: In Use category no longer showing at all
2 participants