Closed raptor-666 closed 5 months ago
OK yeah this is a bit tricky, because sgn() (and signbit(), by extension) are overloaded in KSP to support integers and reals at once, but in sKSP they are made to return integer always, and this trips up the compiler...
I have a solution I think. abs() already has special handling for this, so it's a matter of appending these functions in that place, too 🙂
@raptor-666 Try pulling the master branch and check it out 🙂
There is a discrepancy between the way a script is handled in the Sublime KSP package and in Kontakt 7's script editor. The provided script runs without issues in Kontakt 7 but throws an error during compilation in Sublime KSP.
Steps to Reproduce
Screenshot