Procházet zdrojové kódy

Fix an infinite recursion in the Mathf.Decimals method when using floats.

Nathan Warden před 7 roky
rodič
revize
2109bd3f97
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      modules/mono/glue/cs_files/Mathf.cs

+ 1 - 1
modules/mono/glue/cs_files/Mathf.cs

@@ -71,7 +71,7 @@ namespace Godot
 
         public static int Decimals(float step)
         {
-            return Decimals(step);
+            return Decimals((decimal)step);
         }
 
         public static int Decimals(decimal step)