Fix one more batch of compiler warnings.
A few of these were potential bugs.
This commit is contained in:
parent
3dfd8fd09b
commit
06cad9ee1e
14 changed files with 30 additions and 27 deletions
|
|
@ -154,7 +154,7 @@ void msg(char *fmt, ...);
|
|||
char *new(int size);
|
||||
struct linked_list *new_item(int size);
|
||||
void new_level(int ltype);
|
||||
struct linked_list *new_monster(char type, struct coord *cp, bool treas);
|
||||
struct linked_list *new_monster(int indx, struct coord *cp, bool treas);
|
||||
struct linked_list *new_thing(bool treas, int type, int which);
|
||||
void nohaste(int fromfuse);
|
||||
void noteth(int fromfuse);
|
||||
|
|
@ -193,7 +193,7 @@ void ring_on(void);
|
|||
void ringabil(void);
|
||||
int ringex(int rtype);
|
||||
int rnd(int range);
|
||||
char rnd_mon(bool wander, bool baddie);
|
||||
int rnd_mon(bool wander, bool baddie);
|
||||
struct coord *rnd_pos(struct room *rp);
|
||||
int rnd_room(void);
|
||||
struct coord *rndmove(struct thing *who);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue