Remove an #ifdef EXPERIMENTAL.
The code was changed in trunk and should remain as is.
This commit is contained in:
parent
124752f8bc
commit
7af74ff42e
1 changed files with 1 additions and 4 deletions
|
@ -1756,11 +1756,8 @@ double retreat_phase::evaluate()
|
|||
typedef move_map::const_iterator Itor;
|
||||
std::pair<Itor,Itor> itors = get_srcdst().equal_range(i->first);
|
||||
map_location best_pos, best_defensive(i->first);
|
||||
#ifndef EXPERIMENTAL
|
||||
|
||||
double best_rating = -1000.0;
|
||||
#else
|
||||
double best_rating = 0.0;
|
||||
#endif
|
||||
int best_defensive_rating = i->second.defense_modifier(get_info().map.get_terrain(i->first))
|
||||
- (get_info().map.is_village(i->first) ? 10 : 0);
|
||||
while(itors.first != itors.second) {
|
||||
|
|
Loading…
Add table
Reference in a new issue