- fixed several scale related floating point conversion warnings.
This commit is contained in:
parent
431c47c957
commit
355219d614
7 changed files with 12 additions and 12 deletions
|
|
@ -737,15 +737,15 @@ public:
|
|||
break;
|
||||
|
||||
case NAME_ScaleX:
|
||||
th->Scale.X = CheckFloat(key);
|
||||
th->Scale.X = (float)CheckFloat(key);
|
||||
break;
|
||||
|
||||
case NAME_ScaleY:
|
||||
th->Scale.Y = CheckFloat(key);
|
||||
th->Scale.Y = (float)CheckFloat(key);
|
||||
break;
|
||||
|
||||
case NAME_Scale:
|
||||
th->Scale.X = th->Scale.Y = CheckFloat(key);
|
||||
th->Scale.X = th->Scale.Y = (float)CheckFloat(key);
|
||||
break;
|
||||
|
||||
case NAME_FriendlySeeBlocks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue