mangos/mangos — comment on commit 353d8f8721df8db79ec3687ada418c790d760271
File:  line 0
By Schmoozerd:

In principle you are right on both points;
But I am not sure if a change is really required:
1) the comparing == 0.0f if used only with values that are taken from the database and not changed at all. Hence I would expect that both the value script->x and 0.0f differ from zero in the same way, and the comparision should work.

If it does not work as expected, this should be backed up with a real bug-report :)

2) I saw this problem, but as atm the orientation field shouldn't have been filled anyways (and hence should be set to 0.0 as default value) - I decided to not set it to -1.0f but to keep 0.0 as "not-set" value, because I expect that the case orient to north is extremely rare - and if this ever was needed 2*pi should be as fine for database devs I think