Karroffel пре 8 година
родитељ
комит
b6ca6a2d8e
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      include/core/Godot.hpp

+ 8 - 0
include/core/Godot.hpp

@@ -78,6 +78,14 @@ struct _ArgCast<T*> {
 	}
 };
 
+template<>
+struct _ArgCast<Variant> {
+	static Variant _arg_cast(Variant a)
+	{
+		return a;
+	}
+};
+