OpenFunscripter / OFS

A tool to create funscripts
GNU General Public License v3.0
90 stars 39 forks source link

remove __debugbreak() in LuaExtensions #39

Closed S0yKaf closed 2 years ago

S0yKaf commented 2 years ago

This caused the compile to fail on linux. most likely pushed by accident.

OpenFunscripter commented 2 years ago

I still want to keep those debugbreaks because I still don't know under what circumstances these handlers are called... The correct thing would've been to use this macro instead but that's on me. https://github.com/OpenFunscripter/OFS/blob/42449c2d674ddec084268d3ed58a4a6f2439d007/OFS-lib/OFS_Util.h#L53-L57

So I can change it to use the macro or if you want you can change the pull request.

You can compile it on linux in release mode. The debug binaries are only supposed to be used with a debugger and are not for actual use.