(gift): Remove the type argument, can be determined from the ptr

argument. Replace prship/prland/prplane/prnuke code with
obj_nameof().
This commit is contained in:
Ron Koenderink 2006-08-02 13:07:09 +00:00
parent 55107731cc
commit f246f86542
4 changed files with 22 additions and 42 deletions

View file

@ -57,7 +57,7 @@ extern void finish_server(void);
*/
extern int check_market(void);
extern int sendmessage(struct natstr *, struct natstr *, char *, int);
extern void gift(natid, natid, void *, int, char *);
extern void gift(natid, natid, void *, char *);
extern int display_mark(i_type, int);
extern int want_to_abandon(struct sctstr *, i_type, int, struct lndstr *);
extern int would_abandon(struct sctstr *, i_type, int, struct lndstr *);