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.17 by root, Sun Sep 3 00:18:42 2006 UTC vs.
Revision 1.18 by root, Sun Sep 3 09:00:09 2006 UTC

1/* 1/*
2 * static char *rcsid_main_c = 2 * static char *rcsid_main_c =
3 * "$Id: main.C,v 1.17 2006/09/03 00:18:42 root Exp $"; 3 * "$Id: main.C,v 1.18 2006/09/03 09:00:09 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
1283#endif 1283#endif
1284 1284
1285 if (!(pticks % PTICKS_PER_CLOCK)) 1285 if (!(pticks % PTICKS_PER_CLOCK))
1286 tick_the_clock(); 1286 tick_the_clock();
1287 1287
1288 if (!(pticks % 7))
1289 shstr::gc ();
1290
1288 if (!(pticks % 79)) 1291 if (!(pticks % 79))
1289 flush_old_maps(); /* Clears the tmp-files of maps which have reset */ 1292 flush_old_maps(); /* Clears the tmp-files of maps which have reset */
1290 1293
1291 if (!(pticks % 2503)) 1294 if (!(pticks % 2503))
1292 fix_weight(); /* Hack to fix weightproblems caused by bugs */ 1295 fix_weight(); /* Hack to fix weightproblems caused by bugs */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines