Expire lost items at the update instead of continuously
Replace thread DeleteItems running delete_lostitems() by simple function delete_old_lostitems(), and call it from update_main().
This commit is contained in:
parent
b72fd20674
commit
7441e2499f
6 changed files with 21 additions and 71 deletions
|
@ -58,5 +58,6 @@ struct loststr {
|
|||
extern void lost_and_found(int, natid, natid, int, coord, coord);
|
||||
extern void makelost(short, natid, short, coord, coord);
|
||||
extern void makenotlost(short, natid, short, coord, coord);
|
||||
extern void delete_old_lostitems(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue