… | |
… | |
419 | * doing the various things. |
419 | * doing the various things. |
420 | */ |
420 | */ |
421 | void |
421 | void |
422 | do_specials (void) |
422 | do_specials (void) |
423 | { |
423 | { |
|
|
424 | shstr::gc (); |
|
|
425 | |
424 | if (expect_false (!(pticks % TICKS_PER_HOUR))) |
426 | if (expect_false (!(pticks % TICKS_PER_HOUR))) |
425 | adjust_daylight (); |
427 | adjust_daylight (); |
426 | |
|
|
427 | if (expect_false (!(pticks % 89))) |
|
|
428 | shstr::gc (); |
|
|
429 | |
428 | |
430 | if (expect_false (!(pticks % 2503))) |
429 | if (expect_false (!(pticks % 2503))) |
431 | fix_weight (); /* Hack to fix weightproblems caused by bugs */ |
430 | fix_weight (); /* Hack to fix weightproblems caused by bugs */ |
432 | |
431 | |
433 | if (expect_false (!(pticks % 5003))) |
432 | if (expect_false (!(pticks % 5003))) |