From: <dil...@us...> - 2014-10-28 03:32:46
|
Revision: 7755 http://sourceforge.net/p/freeorion/code/7755 Author: dilvish-fo Date: 2014-10-28 03:32:36 +0000 (Tue, 28 Oct 2014) Log Message: ----------- fixes auto-advance-n-turns option so that it is not saved to the permanent options file Modified Paths: -------------- trunk/FreeOrion/client/human/chmain.cpp Modified: trunk/FreeOrion/client/human/chmain.cpp =================================================================== --- trunk/FreeOrion/client/human/chmain.cpp 2014-10-20 22:08:15 UTC (rev 7754) +++ trunk/FreeOrion/client/human/chmain.cpp 2014-10-28 03:32:36 UTC (rev 7755) @@ -107,7 +107,7 @@ GetOptionsDB().Add<int>("fullscreen-monitor-id", UserStringNop("OPTIONS_DB_FULLSCREEN_MONITOR_ID"), 0, RangedValidator<int>(0, 5)); GetOptionsDB().AddFlag('q', "quickstart", UserStringNop("OPTIONS_DB_QUICKSTART"), false); GetOptionsDB().AddFlag("auto-quit", UserStringNop("OPTIONS_DB_AUTO_QUIT"), false); - GetOptionsDB().Add<int>("auto-advance-n-turns", UserStringNop("OPTIONS_DB_AUTO_N_TURNS"), 0, RangedValidator<int>(0, 400)); + GetOptionsDB().Add<int>("auto-advance-n-turns", UserStringNop("OPTIONS_DB_AUTO_N_TURNS"), 0, RangedValidator<int>(0, 400), false); GetOptionsDB().Add<std::string>("load", UserStringNop("OPTIONS_DB_LOAD"), "", Validator<std::string>(), false); GetOptionsDB().Add("UI.sound.music-enabled", UserStringNop("OPTIONS_DB_MUSIC_ON"), true); GetOptionsDB().Add("UI.sound.enabled", UserStringNop("OPTIONS_DB_SOUND_ON"), true); |