removed failing assertion about player_info/teams...

...in upload_log.cpp, proper solution is work in progress (player_info
removal)
This commit is contained in:
Eugen Jiresch 2009-07-09 13:47:34 +00:00
parent 75eb22c1f3
commit d95588dd6f

View file

@ -262,8 +262,7 @@ void upload_log::start(game_state &state, const team &team,
}
/** @todo FIXME: Assumes first player is "us"; is that valid? */
player_info &player = state.players.begin()->second;
assert(player.available_units.size() == team.recall_list().size());
//player_info &player = state.players.begin()->second; //FIXME: fix assumptions about the first player and corresponding team
for (std::vector<unit>::const_iterator it = team.recall_list().begin();
it != team.recall_list().end();
++it) {