- fixed float <-> fixed conversion errors in Fragglescript.

This commit is contained in:
Christoph Oelckers 2016-04-08 15:14:26 +02:00
commit 39d03f12b1
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ struct svalue_t
void setDouble(double dp)
{
value.f = fsfix(dp/65536);
value.f = fsfix(dp * 65536);
type = svt_fixed;
}
};