From 286d2aff030bc69bb82482b3daeffa2e5629a3ac Mon Sep 17 00:00:00 2001 From: Ramesh Ravone Date: Tue, 3 Oct 2017 08:29:08 +0000 Subject: [PATCH] Fix `_arg_cast` This has been an issue from the day one, A lot of people mentioned this on discord too --- include/core/Godot.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index 45aca163..90a73aa3 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -60,7 +60,7 @@ template struct _ArgCast { static T _arg_cast(Variant a) { - return static_cast(a); + return a; } };