cleolibrary / III.VC.CLEO

CLEO for GTA III and GTA Vice City
https://cleo.li/
80 stars 13 forks source link

0605 GET_WEAPONTYPE_FOR_MODEL should allow negative numbers #17

Open x87 opened 1 year ago

x87 commented 1 year ago

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.