What exactly is Andromeda? I have never heard of it.
But this bug made me really mad. I got used to type reals/fixed values with a dot even if there are no numbers on the right side of the dot, since people told me that the Jass compiler did R2I conversion anyways. :D
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
An hour of debugging... trying of different ways to implement my stuff .. wondering about strange error messages...
just to find out that the game engine made some unobious mistake(?) with my variables.
Even when I add the prefix 'const' , it still shows "0"! Only when I remove the little dot:
fixed Sector_Degree = 20; value shows as expected.
So is this some new scripting style which I am only unfamiliar with or a bug?
20.0 becomes-> 20
20. becomes-> 0
wtf?
It's a bug.
As a general rule: Always write out your numbers.
.2 -> 0.2
2. -> 2 or 2.0
Or use Andromeda, which performs lots of casts for you :)
What exactly is Andromeda? I have never heard of it.
But this bug made me really mad. I got used to type reals/fixed values with a dot even if there are no numbers on the right side of the dot, since people told me that the Jass compiler did R2I conversion anyways. :D