InsanityBringer wrote:Ok, that's weird, looking at the ZScript implementation it seems to be using the caller's angle as expected, so I wonder what's going on
The script was ok, but there was a bug in the code generator for the ?: operator. Like much of the early code in there it had some problems with local variables being the result of an operation. I thought I had found them all but this escaped me.