- fixed several scale related floating point conversion warnings.

This commit is contained in:
Christoph Oelckers 2022-06-15 22:15:36 +02:00
commit 355219d614
7 changed files with 12 additions and 12 deletions

View file

@ -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: