Lua Updates + Floating Point Values
Posted: Thu Nov 30, 2017 11:39 am
It looks like lua_tointegerx previously handled floating point numbers differently. Now it seems to return 0 when passed a floating point number.
I changed this on my end by using lua_tonumber rather than lua_tointeger in the (one) place I've seen the issue so far on Stitch (AddSpellBonus), but I'm not sure if there's other issues that were caused by the change.
Just a heads up.
I changed this on my end by using lua_tonumber rather than lua_tointeger in the (one) place I've seen the issue so far on Stitch (AddSpellBonus), but I'm not sure if there's other issues that were caused by the change.
Just a heads up.