Skip to content

Commit

Permalink
Monsters wielding torches will also light them.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Sep 25, 2023
1 parent b6ccf18 commit ccc1381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/weapon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,8 @@ register struct monst *mon;
/* already wielding it */
if (is_lightsaber(obj))
mon_ignite_lightsaber(obj, mon);
if (obj->otyp == TORCH)
begin_burn(obj, FALSE);
mon->weapon_check = NEED_WEAPON;
return 0;
}
Expand Down

0 comments on commit ccc1381

Please sign in to comment.