Mercurial > hg > early-roguelike
diff xrogue/daemons.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 | 7c1cb43f346e |
children |
line wrap: on
line diff
--- a/xrogue/daemons.c Sun Feb 11 15:37:33 2018 -0500 +++ b/xrogue/daemons.c Fri Nov 22 21:18:27 2019 -0500 @@ -696,12 +696,12 @@ if (purse == 50) msg("%s.. Commands you to find more gold!! ", inv_name(obj, FALSE)); if (purse == 0) { - if (rnd(10) >= 7) - msg("You feel the artifact gnawing away... "); + if (rnd(10) >= 7) + msg("You feel the artifact gnawing away... "); if (--pstats.s_hpt < 1) { - pstats.s_hpt = -1; + pstats.s_hpt = -1; death(D_RELIC); - } + } } else purse--;