So, I was attempting to compile a script today which included this line...
This gave me an error... Cannot cast from bool to float. (I don't remember the precise number of said error.)Code:if(Link->CollDetection==true)
I should note that this didn't occur on every instance where I had this in the script. Possibly because of the way that the parser examines things? I don't know.
Changing it to this worked...
Since as far as I know, most bools accept the syntax in the first section of code, I'm pretty sure the fact this doesn't is a bug.Code:if(Link->CollDetection)