- fixed float <-> fixed conversion errors in Fragglescript.
This commit is contained in:
parent
06dc96b062
commit
39d03f12b1
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ struct svalue_t
|
|||
|
||||
void setDouble(double dp)
|
||||
{
|
||||
value.f = fsfix(dp/65536);
|
||||
value.f = fsfix(dp * 65536);
|
||||
type = svt_fixed;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue