When entered -0 (minus zero) as parameter, it fails to recognise it as a 'simple' 0 (zero).
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
proc
testZero(something)
if(something != 0)
world << "Not zero!"
else
world << "Zero!"
testtestZero()
testZero(10)
testZero(-15)
testZero(0)
testZero(-0) //for example when it's -var, when var is unknown
Expected Results:
Not zero!
Not zero!
Zero!
Zero!
Actual Results:
Not zero!
Not zero!
Zero!
Not zero!
Does the problem occur:
Every time? Or how often?
Always
In other games?
Tested it both in game and standalone.
In other user accounts?
Yes.
On other computers?
Yes.
When does the problem NOT occur?
by replacing 'something != 0' with 'something < 0 || something > 0'
Workarounds:
See above.
</0>