Assigning lua variable to float causes Segmentation fault
zbrojny120 opened this issue · 1 comments
zbrojny120 commented
float example = state["exmpl"];
And other assignments using float, including static_cast, cause Segmentation fault, making the following code required to assign values to float:
float example = static_cast<double>(state["exmpl"]);