don't display 'Remote scenario' for reloaded games in the multiplayer lobby

which is wrong in most cases (fixes bug #10882), the display of
'Reloaded game' is disabled for now because we have a string freeze
and there is no good string to re-use
This commit is contained in:
uso 2008-01-28 22:43:31 +00:00
parent ad3d695923
commit 25a7e1dcd6
3 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,10 @@
Version 1.3.15+svn:
* language and i18n:
* updated translations: Filipino, German
* multiplayer:
* don't display 'Remote scenario' for reloaded games in the multiplayer
lobby which is wrong in most cases (fixes bug #10882), the display
of 'Reloaded game' is disabled for now because of the string freeze
Version 1.3.15:
* language and i18n:

View File

@ -450,7 +450,14 @@ void gamebrowser::set_game_items(const config& cfg, const config& game_config)
}
if(level_cfg) {
games_.back().map_info += level_cfg->get_attribute("name");
if(map_hashes_) {
if ((**game)["savegame"] == "yes") {
//! @todo: display of 'Reloaded game' in the MP lobby is
// deactivated for now because we have a string freeze and
// there is no good string to re-use
//games_.back().map_info += " - ";
//games_.back().map_info += _("Reloaded game");
verified = false;
} else if (map_hashes_) {
const std::string& hash = (**game)["hash"];
bool hash_found = false;
for(string_map::const_iterator i = map_hashes_->values.begin(); i != map_hashes_->values.end(); ++i) {

View File

@ -1030,6 +1030,7 @@ void server::process_data_game(const network::connection sock, const config& dat
desc["mp_countdown_turn_bonus"] = data["mp_countdown_turn_bonus"];
desc["mp_countdown_reservoir_time"] = data["mp_countdown_reservoir_time"];
desc["mp_countdown_action_bonus"] = data["mp_countdown_action_bonus"];
desc["savegame"] = data["savegame"];
desc["hash"] = data["hash"];
//desc["map_name"] = data["name"];
//desc["map_description"] = data["description"];