(kw_read, kw_find, kwtab, kw_list): Were used to evaluate the hours
file until 4.2.7. Since then kw_read() is unused, and kw_find() always returns NULL. Remove. kw_find() callers changed.
This commit is contained in:
parent
5dec30d66c
commit
05acaece48
4 changed files with 0 additions and 80 deletions
|
@ -59,14 +59,6 @@ update_sched(void *unused)
|
|||
"Waits until players idle", 0);
|
||||
time(&now);
|
||||
(void)gamehours(now, hour);
|
||||
if (NULL != (kw = kw_find("s_p_etu")))
|
||||
kw_parse(CF_VALUE, kw, &s_p_etu);
|
||||
if (NULL != (kw = kw_find("etu_per_update")))
|
||||
kw_parse(CF_VALUE, kw, &etu_per_update);
|
||||
if (NULL != (kw = kw_find("adj_update")))
|
||||
kw_parse(CF_VALUE, kw, &adj_update);
|
||||
if (NULL != (kw = kw_find("update_window")))
|
||||
kw_parse(CF_VALUE, kw, &update_window);
|
||||
if (s_p_etu <= 0) {
|
||||
logerror("bad value for s_p_etu (%d)", s_p_etu);
|
||||
s_p_etu = 2 * 60;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue