diff options
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index dadb00a351..7d92cc8417 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -996,6 +996,7 @@ int melee_attack::player_apply_weapon_bonuses(int damage) void melee_attack::player_weapon_auto_id() { if (weapon + && weapon->base_type == OBJ_WEAPONS && !is_range_weapon( *weapon ) && !item_ident( *weapon, ISFLAG_KNOW_PLUSES ) && random2(100) < you.skills[ wpn_skill ]) |