diff options
-rw-r--r-- | crawl-ref/source/newgame.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/traps.cc | 16 |
2 files changed, 12 insertions, 10 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index d46f333143..e0697c6d4d 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -14,7 +14,7 @@ * some clean-up of init_player() * <13> 1/10/2000 BCR Made ogre berserkers get club * skill, Trolls get unarmed skill - * Halflings can be assasins and + * Halflings can be assassins and * warpers * <12> 12/4/99 jmf Gave Paladins more armour skill + a * long sword (to compensate for @@ -2685,7 +2685,9 @@ static void create_wanderer( void ) } else if (you.skills[SK_SHIELDS] && wpn_skill != SK_STAVES) { - newgame_make_item(4, EQ_SHIELD, OBJ_ARMOUR, ARM_BUCKLER); + newgame_make_item(4, EQ_SHIELD, OBJ_ARMOUR, + (player_genus(GENPC_DRACONIAN) || you.species == SP_OGRE_MAGE) ? + ARM_SHIELD : ARM_BUCKLER); you.inv[3].quantity = 0; // remove potion } else diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc index 258199f2bd..00d5793963 100644 --- a/crawl-ref/source/traps.cc +++ b/crawl-ref/source/traps.cc @@ -810,14 +810,14 @@ void free_self_from_net() void clear_trapping_net() { - if (!you.attribute[ATTR_HELD]) - return; - - const int net = get_trapping_net(you.x_pos, you.y_pos); - if (net != NON_ITEM) - remove_item_stationary(mitm[net]); - - you.attribute[ATTR_HELD] = 0; + if (!you.attribute[ATTR_HELD]) + return; + + const int net = get_trapping_net(you.x_pos, you.y_pos); + if (net != NON_ITEM) + remove_item_stationary(mitm[net]); + + you.attribute[ATTR_HELD] = 0; } bool trap_item(object_class_type base_type, char sub_type, |