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

0605 GET_WEAPONTYPE_FOR_MODEL should allow negative numbers #17

Open
x87 opened this issue Jul 9, 2023 · 0 comments
Open

0605 GET_WEAPONTYPE_FOR_MODEL should allow negative numbers #17

x87 opened this issue Jul 9, 2023 · 0 comments

Comments

@x87
Copy link
Contributor

x87 commented Jul 9, 2023

For consistency with 032B, 0605 should also allow for negative numbers to be given as an argument. In case of 032B the game resolves the model index using the CTheScripts::UsedObjectArray, where -1 is the first model on the list, -2 is the second, etc.

This is a purely cosmetic change.

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

No branches or pull requests

1 participant