Document 2008-05-18T00:40:26Z!benoit.timbert@free.fr

This commit is contained in:
Benoît Timbert 2008-05-18 10:09:07 +00:00
parent 0f6f0a1525
commit 41be94978e
2 changed files with 3 additions and 1 deletions

View file

@ -51,6 +51,8 @@ Version 1.5.0+svn:
* WML engine:
* titlescreen is now randomly loaded
* fix [teleport] capturing villages with the wrong side (bug #11683)
* SideWML recruit= no longer locks the faction except if explicitely wanted
with the new key faction_from_recruit=yes
* wesnothd
* added expiration time to bans
* added restart command to server that does gracefull restart

View file

@ -274,7 +274,7 @@ connect::side::side(connect& parent, const config& cfg, int index) :
find.push_back(leader_);
search_field = "leader";
}
// Pick the first faction with the greater amount of data matching the criteria
int faction_index = 0;
int best_score = 0;
std::vector<config*>::const_iterator faction = parent.era_sides_.begin();