parent
46bec21fa3
commit
f293c7cb32
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ int mouse_handler::show_attack_dialog(const map_location& attacker_loc, const ma
|
|||
std::vector<battle_context> bc_vector;
|
||||
const int best = fill_weapon_choices(bc_vector, attacker, defender);
|
||||
|
||||
if((*attacker).attacks().empty()) {
|
||||
if(bc_vector.empty()) {
|
||||
gui2::show_transient_message("No Attacks", _("This unit has no usable weapons."));
|
||||
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue