ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/main.C
(Generate patch)

Comparing deliantra/server/server/main.C (file contents):
Revision 1.94 by root, Wed Mar 14 04:12:29 2007 UTC vs.
Revision 1.95 by root, Sat Mar 17 22:11:23 2007 UTC

547 * done on the same tick, but that will happen very infrequently 547 * done on the same tick, but that will happen very infrequently
548 * 548 *
549 * I also think this code makes it easier to see how often we really are 549 * I also think this code makes it easier to see how often we really are
550 * doing the various things. 550 * doing the various things.
551 */ 551 */
552
553extern unsigned long todtick;
554
555void 552void
556do_specials (void) 553do_specials (void)
557{ 554{
558 if (!(pticks % PTICKS_PER_CLOCK)) 555 if (!(pticks % TICKS_PER_HOUR))
559 tick_the_clock (); 556 adjust_daylight ();
560 557
561 if (!(pticks % 7)) 558 if (!(pticks % 7))
562 shstr::gc (); 559 shstr::gc ();
563 560
564 if (!(pticks % 2503)) 561 if (!(pticks % 2503))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines