Test for save games the proper way.

This commit is contained in:
Danny Daemonic 2006-10-03 02:37:46 +00:00
parent e910d9e202
commit 66d46a996f

View File

@ -414,7 +414,7 @@ void wait::generate_menu()
str << _("(") << leader_name << _(")");
str << COLUMN_SEPARATOR;
// Don't show gold for saved games
if(sd["save_id"].empty())
if(sd["allow_changes"] == "yes")
str << sd["gold"] << ' ' << sgettext("unit^Gold") << COLUMN_SEPARATOR;
int income_amt = lexical_cast_default<int>(sd["income"], 0);