few bugs fixed thanks to explicit bool constructor and clang.
explicit bool constructor has thus now been removed, as it served it's mission!
This commit is contained in:
parent
76ce18c290
commit
37adf936ab
3 changed files with 3 additions and 2 deletions
|
@ -239,7 +239,7 @@ public:
|
|||
|
||||
operator IP_Address() const;
|
||||
|
||||
explicit Variant(bool p_bool);
|
||||
Variant(bool p_bool);
|
||||
Variant(signed int p_int); // real one
|
||||
Variant(unsigned int p_int);
|
||||
#ifdef NEED_LONG_INT
|
||||
|
|
|
@ -2798,7 +2798,7 @@ public:
|
|||
r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD;
|
||||
return 0;
|
||||
}
|
||||
*p_outputs[0] = subcall->call(VisualScriptLanguage::singleton->_subcall, p_inputs, input_args, r_error_str);
|
||||
*p_outputs[0] = subcall->call(VisualScriptLanguage::singleton->_subcall, p_inputs, input_args, r_error);
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "scene/2d/animated_sprite.h"
|
||||
#include "scene/2d/physics_body_2d.h"
|
||||
#include "scene/animation/animation_player.h"
|
||||
#include "scene/main/viewport.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue