revert yet again my formula_ai change that I didn't want to commit

This commit is contained in:
Jérémy Rosen 2009-02-26 20:08:33 +00:00
parent eaf396d541
commit aa1a7c8764
2 changed files with 0 additions and 4 deletions

View file

@ -1463,9 +1463,6 @@ void formula_ai::make_candidate_moves() {
callable.add("target", enemy_unit_callable);
}
const_formula_ptr move_formula((*best_move)->get_move());
game_display::get_singleton()->float_label(
(*(*best_move)->get_action_unit()).first,
(*best_move)->get_name(),0,0,0);
make_move(move_formula, callable);
// And re-evaluate candidate moves
build_move_list();

View file

@ -43,7 +43,6 @@ public:
void evaluate_move(const formula_ai* ai, unit_map& units, size_t team_num);
int get_score() const {return score_;}
const std::string& get_name() { return name_;}
std::string get_type() const {return type_;}
unit_map::unit_iterator get_action_unit() {return action_unit_;}
unit_map::unit_iterator get_enemy_unit() {return enemy_unit_;}