1 | /* |
1 | /* |
2 | * static char *rcsid_main_c = |
2 | * static char *rcsid_main_c = |
3 | * "$Id: main.C,v 1.15 2006/08/30 16:30:37 root Exp $"; |
3 | * "$Id: main.C,v 1.16 2006/08/30 16:47:10 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 | |
… | |
… | |
1282 | #endif |
1282 | #endif |
1283 | |
1283 | |
1284 | if (!(pticks % PTICKS_PER_CLOCK)) |
1284 | if (!(pticks % PTICKS_PER_CLOCK)) |
1285 | tick_the_clock(); |
1285 | tick_the_clock(); |
1286 | |
1286 | |
1287 | if (!(pticks % 509)) |
1287 | if (!(pticks % 79)) |
1288 | flush_old_maps(); /* Clears the tmp-files of maps which have reset */ |
1288 | flush_old_maps(); /* Clears the tmp-files of maps which have reset */ |
1289 | |
1289 | |
1290 | if (!(pticks % 2503)) |
1290 | if (!(pticks % 2503)) |
1291 | fix_weight(); /* Hack to fix weightproblems caused by bugs */ |
1291 | fix_weight(); /* Hack to fix weightproblems caused by bugs */ |
1292 | |
1292 | |