neweff prod work: Use update code instead of duplicating it
The code to build sectors got quadruplicated in Chainsaw. We've since fixed numerous inconsistencies, but still have four copies of the code. Thanks to the recent work on upd_buildeff(), we can now use it to replace the other three copies. Rename it back to to buildeff() while there. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
41a2f7d1df
commit
b7b99c95c2
5 changed files with 31 additions and 191 deletions
|
@ -713,6 +713,7 @@ extern int update_removewants(void);
|
|||
extern void revolt(struct sctstr *);
|
||||
extern void guerrilla(struct sctstr *);
|
||||
/* sect.c */
|
||||
extern int buildeff(struct sctstr *);
|
||||
extern void do_fallout(struct sctstr *, int);
|
||||
extern void spread_fallout(struct sctstr *, int);
|
||||
extern void decay_fallout(struct sctstr *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue