Browse Source

fixed ArgCast again

Karroffel 8 years ago
parent
commit
b6ca6a2d8e
1 changed files with 8 additions and 0 deletions
  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;
+	}
+};
+