Merge pull request #2531 from bojidar-bg/patch-4

Fix parameters of funcRef::call_func
This commit is contained in:
Juan Linietsky 2015-10-17 10:06:03 -03:00
commit 99a3c1aaa1
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ void FuncRef::_bind_methods() {
{
MethodInfo mi;
mi.name="call";
mi.arguments.push_back( PropertyInfo( Variant::STRING, "method"));
mi.name="call_func";
Vector<Variant> defargs;
for(int i=0;i<10;i++) {
mi.arguments.push_back( PropertyInfo( Variant::NIL, "arg"+itos(i)));