Browse Source

Merge pull request #39 from RameshRavone/patch-2

Fix `_arg_cast`
Thomas Herzog 7 years ago
parent
commit
def39f4862
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/core/Godot.hpp

+ 1 - 1
include/core/Godot.hpp

@@ -60,7 +60,7 @@ template<class T>
 struct _ArgCast {
 	static T _arg_cast(Variant a)
 	{
-		return static_cast<T>(a);
+		return a;
 	}
 };