mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 20:46:18 +00:00
Temporarily disable GUI2 Attack Predictions dialog until it's complete
This commit is contained in:
parent
9fc1e497e1
commit
ca8c02db5f
@ -93,7 +93,9 @@ void unit_attack::damage_calc_callback(window& window)
|
||||
{
|
||||
const size_t index = find_widget<listbox>(&window, "weapon_list", false).get_selected_row();
|
||||
|
||||
attack_predictions::display(weapons_[index], *attacker_itor_, *defender_itor_, window.video());
|
||||
if(gui2::new_widgets) {
|
||||
attack_predictions::display(weapons_[index], *attacker_itor_, *defender_itor_, window.video());
|
||||
}
|
||||
|
||||
// TODO: remove when the GUI2 dialog is complete
|
||||
battle_prediction_pane battle_pane(weapons_[index], (*attacker_itor_).get_location(), (*defender_itor_).get_location());
|
||||
|
Loading…
x
Reference in New Issue
Block a user