Added a TODO reminder for me...
...to check with crab about lua ai related issues of the multileader recall/recruit aspects.
This commit is contained in:
parent
7845a1ba58
commit
eaa1f5f2fe
1 changed files with 2 additions and 0 deletions
|
@ -266,6 +266,7 @@ static int cfun_ai_execute_recruit(lua_State *L)
|
|||
where.x = lua_tonumber(L, 2) - 1;
|
||||
where.y = lua_tonumber(L, 3) - 1;
|
||||
}
|
||||
//TODO fendrin: talk to Crab about the from argument.
|
||||
map_location from = map_location::null_location;
|
||||
ai::recruit_result_ptr recruit_result = ai::actions::execute_recruit_action(side,true,std::string(unit_name),where,from);
|
||||
return transform_ai_action(L,recruit_result);
|
||||
|
@ -280,6 +281,7 @@ static int cfun_ai_execute_recall(lua_State *L)
|
|||
where.x = lua_tonumber(L, 2) - 1;
|
||||
where.y = lua_tonumber(L, 3) - 1;
|
||||
}
|
||||
//TODO fendrin: talk to Crab about the from argument.
|
||||
map_location from = map_location::null_location;
|
||||
ai::recall_result_ptr recall_result = ai::actions::execute_recall_action(side,true,std::string(unit_id),where,from);
|
||||
return transform_ai_action(L,recall_result);
|
||||
|
|
Loading…
Add table
Reference in a new issue