remove an unused variable

This commit is contained in:
Gunter Labes 2007-12-28 21:08:08 +00:00
parent 5305c9a344
commit a99ebde174

View file

@ -287,7 +287,7 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg
}
//The host has ended linger mode in a campaign -> enable the "End scenario" button
if (const config* cfg_notify = cfg.child("notify_next_scenario")){
if (cfg.child("notify_next_scenario")){
gui::button* btn_end = gui_.find_button("button-endturn");
btn_end->enable(true);
}