Mercurial > hg > early-roguelike
diff urogue/chase.c @ 300:0250220d8cdd
Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup
remains to be done.
author | John "Elwin" Edwards |
---|---|
date | Fri, 22 Nov 2019 21:18:27 -0500 |
parents | c495a4f288c6 |
children |
line wrap: on
line diff
--- a/urogue/chase.c Sun Feb 11 15:37:33 2018 -0500 +++ b/urogue/chase.c Fri Nov 22 21:18:27 2019 -0500 @@ -1143,8 +1143,8 @@ if (off(*tp, ISCHARMED) && oil) return(oil); - if (off(*tp, ISCHARMED) && grenade) - return(grenade); + if (off(*tp, ISCHARMED) && grenade) + return(grenade); if (footbow && fbbolt) return(fbbolt);