nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
129 stars 92 forks source link

Bugfix GetInventoryItemCount(): uint32_t to int32_t #1704

Closed WilliamDraco closed 11 months ago

WilliamDraco commented 11 months ago

https://discord.com/channels/382306806866771978/382914210176172032/1162700205624401933

Per Daz: Returning a uint32_t confuses nwnx into thinking this is an objectID, which then returns as hex and throws warnings when trying to send int32_t back to game to read.