1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Compile fix, from Pelya.

This commit is contained in:
Frank Zago 2011-06-14 13:22:00 +00:00
parent 73a05d62fd
commit b471c10149

View File

@ -2546,7 +2546,8 @@ struct VNodeEvaluator : boost::static_visitor<VOption>
else if(symToFunc.find(opt.text) != symToFunc.end())
{
VFunc f(symToFunc[opt.text]);
return f(erm->evalEach(exp.children.cdr()));
VOptionList ls = erm->evalEach(exp.children.cdr());
return f(VermTreeIterator(ls));
}
@ -2941,4 +2942,4 @@ namespace VERMInterpreter
boost::apply_visitor(_VOPTPrinter(), opt);
tlog1 << "\n";
}
}
}