Skip to content

Commit

Permalink
tunit_attack: attempt to fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 10, 2016
1 parent fbb2f58 commit 1c3d207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/unit_attack.cpp
Expand Up @@ -270,11 +270,11 @@ void tunit_attack::pre_show(CVideo& /*video*/, twindow& window)
{
connect_signal_mouse_left_click(
find_widget<tbutton>(&window, "attacker_profile", false),
boost::bind(&profile_button_callback, this, (*attacker_itor_).type_id()));
boost::bind(&tunit_attack::profile_button_callback, this, (*attacker_itor_).type_id()));

connect_signal_mouse_left_click(
find_widget<tbutton>(&window, "defender_profile", false),
boost::bind(&profile_button_callback, this, (*defender_itor_).type_id()));
boost::bind(&tunit_attack::profile_button_callback, this, (*defender_itor_).type_id()));

// TODO: implement
find_widget<tbutton>(&window, "damage_calculation", false).set_active(false);
Expand Down

0 comments on commit 1c3d207

Please sign in to comment.