Revert 2008-12-14T14:58:42Z!koraq@xs4all.nl.

Ivanovic reminded me that it causes backwards compatibility issues.
This commit is contained in:
Mark de Wever 2008-12-14 15:05:18 +00:00
parent 86ca71e379
commit 25c2e6d888
2 changed files with 1 additions and 9 deletions

View file

@ -1,8 +1,3 @@
Version 1.4.7+svn:
* miscellaneous and bug fixes:
* Allow recruiting in a castle more than 99 tiles away from the keep
(bug #12185)
Version 1.4.7:
* campaigns:
* Descent into Darkness

View file

@ -112,10 +112,7 @@ bool can_recruit_on(const gamemap& map, const gamemap::location& leader, const g
return false;
castle_cost_calculator calc(map);
// The limit computed in the third argument is more than enough for
// any convex castle on the map. Strictly speaking it could be
// reduced to sqrt(map.w()**2 + map.h()**2).
const paths::route& rt = a_star_search(leader, loc, map.w()+map.h(), &calc, map.w(), map.h());
const paths::route& rt = a_star_search(leader, loc, 100.0, &calc, map.w(), map.h());
if(rt.steps.empty())
return false;