… | … | ||
---|---|---|---|
656 | if (!op->contr) | 656 | if (!op->contr) |
657 | return 0; | 657 | return 0; |
658 | 658 | ||
659 | object *weapon = op->contr->combat_ob; | 659 | object *weapon = op->contr->combat_ob; |
660 | 660 | ||
661 | if (!weapon) | ||
662 | return 0; | ||
663 | |||
661 | if (weapon->type != WEAPON && weapon->type != BOW) | 664 | if (weapon->type != WEAPON && weapon->type != BOW) |
662 | return 0; | 665 | return 0; |
663 | 666 | ||
664 | if (god_examines_item (god, weapon) <= 0) | 667 | if (god_examines_item (god, weapon) <= 0) |
665 | return 0; | 668 | return 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |