Fix behavioral discrepancy for healing terrains. Thanks to quartex and ott.

This commit is contained in:
Guillaume Melquiond 2005-01-08 13:39:37 +00:00
parent 11f6918cdd
commit 3113d60a45

View file

@ -67,7 +67,7 @@ bool gamemap::is_village(const gamemap::location& loc) const
bool gamemap::gives_healing(const gamemap::location& loc) const
{
return is_village(loc);
return on_board(loc) && gives_healing(get_terrain(loc));
}
bool gamemap::is_castle(const gamemap::location& loc) const