Mercurial > hg > early-roguelike
diff arogue5/rogue.h @ 311:28e22fb35989
Fix one more batch of compiler warnings.
A few of these were potential bugs.
author | John "Elwin" Edwards |
---|---|
date | Tue, 04 May 2021 21:03:47 -0400 |
parents | 17005af49963 |
children |
line wrap: on
line diff
--- a/arogue5/rogue.h Mon May 03 19:05:37 2021 -0400 +++ b/arogue5/rogue.h Tue May 04 21:03:47 2021 -0400 @@ -1046,7 +1046,7 @@ void init_stones(void); void init_terrain(void); void init_things(void); -void init_weapon(struct object *weap, char type); +void init_weapon(struct object *weap, int type); char *inv_name(struct object *obj, bool drop); bool inventory(struct linked_list *list, int type); bool is_current(struct object *obj);