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
|
@ -53,7 +53,6 @@ int run_hook(char *, char *);
|
|||
int shutdown_initiate(int);
|
||||
|
||||
/* thread entry points */
|
||||
void delete_lostitems(void *);
|
||||
void player_kill_idle(void *);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue