Move pln_oninit(), lnd_oninit(), nuk_oninit() to filetable.c
They set up invariants, and thus should be always active, not just in the server. Since ef_blank() isn't used for these files outside the server right now, this isn't a bug fix, just cleanup.
This commit is contained in:
parent
3fe3cd376f
commit
31b9ff08f3
6 changed files with 35 additions and 37 deletions
|
@ -431,7 +431,6 @@ extern void bitinit2(struct nstr_sect *, unsigned char *, int);
|
|||
extern int getele(char *, char *);
|
||||
/* land.c */
|
||||
extern char *prland(struct lndstr *);
|
||||
extern void lnd_oninit(void *);
|
||||
extern void lnd_postread(int, void *);
|
||||
extern void lnd_prewrite(int, void *, void *);
|
||||
/* landgun.c */
|
||||
|
@ -489,7 +488,6 @@ extern void init_nreport(void);
|
|||
extern void nreport(natid, int, natid, int);
|
||||
/* nuke.c */
|
||||
extern char *prnuke(struct nukstr *);
|
||||
extern void nuk_oninit(void *);
|
||||
extern void nuk_postread(int, void *);
|
||||
extern void nuk_prewrite(int, void *, void *);
|
||||
/* nxtitem.c */
|
||||
|
@ -499,7 +497,6 @@ extern void nuk_prewrite(int, void *, void *);
|
|||
extern int onearg(char *, char *);
|
||||
/* plane.c */
|
||||
extern char *prplane(struct plnstr *);
|
||||
extern void pln_oninit(void *);
|
||||
extern void pln_postread(int, void *);
|
||||
extern void pln_prewrite(int, void *, void *);
|
||||
/* plnsub.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue