Change struct empfile callback onresize() to return void
ef_open() handles onresize() failing incorrectly. Instead of fixing that, drop the failure mode. It's not really used: unit_onresize() fails only when used incorrectly. It isn't. If it ever is, ignoring the failure is safe.
This commit is contained in:
parent
45c7337e70
commit
a485084777
5 changed files with 15 additions and 17 deletions
|
@ -52,7 +52,7 @@ extern int unit_cargo_first(int, int, int);
|
|||
extern int unit_cargo_next(int, int);
|
||||
extern int unit_cargo_count(int, int, int);
|
||||
extern int unit_nplane(int, int, int *, int *, int *);
|
||||
extern int unit_onresize(int);
|
||||
extern void unit_onresize(int);
|
||||
|
||||
extern void unit_list(struct emp_qelem *);
|
||||
extern void unit_put(struct emp_qelem *list, natid actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue