Mercurial > hg > early-roguelike
diff srogue/potions.c @ 225:4f6e056438eb
Merge the GCC5 and build fix branches.
author | John "Elwin" Edwards |
---|---|
date | Wed, 02 Mar 2016 21:28:34 -0500 |
parents | 94a0d9dd5ce1 |
children | e7862a021609 |
line wrap: on
line diff
--- a/srogue/potions.c Fri Feb 26 17:30:30 2016 -0500 +++ b/srogue/potions.c Wed Mar 02 21:28:34 2016 -0500 @@ -23,7 +23,8 @@ * quaff: * Let the hero drink a potion */ -quaff() +void +quaff(void) { reg struct object *obj; reg struct linked_list *item, *titem; @@ -189,7 +190,7 @@ p_know[P_XHEAL] = TRUE; if (!iswearing(R_SLOW)) notslow(FALSE); - unconfuse(); + unconfuse(FALSE); extinguish(unconfuse); sight(FALSE); }