Katana-Steel / lithtech

70 stars 15 forks source link

refactor sound handles #7

Closed Katana-Steel closed 6 years ago

Katana-Steel commented 6 years ago

sound handles are stored as 16bit ints but are passed around as pointers, f.ex.: https://github.com/Katana-Steel/lithtech/blob/6b46fa5d505be54901a1b37c765aa1dfbef7a73e/runtime/sound/src/soundinstance.cpp#L141-L143

https://github.com/Katana-Steel/lithtech/blob/6b46fa5d505be54901a1b37c765aa1dfbef7a73e/runtime/sound/src/soundinstance.cpp#L244-L246

https://github.com/Katana-Steel/lithtech/blob/6b46fa5d505be54901a1b37c765aa1dfbef7a73e/runtime/client/src/shellnet.cpp#L980-L985

Katana-Steel commented 6 years ago

fixed by commit daf29b89a0e968ed5ec4e15a1f78927301974629