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.32 by root, Sun Sep 17 18:19:19 2006 UTC vs.
Revision 1.34 by root, Sat Sep 30 23:48:57 2006 UTC

234 234
235 if (oldmap) 235 if (oldmap)
236 { 236 {
237 if (!op->contr->hidden) 237 if (!op->contr->hidden)
238 oldmap->players--; 238 oldmap->players--;
239
239 if (oldmap->players <= 0) 240 if (oldmap->players <= 0)
240 { /* can be less than zero due to errors in tracking this */ 241 /* can be less than zero due to errors in tracking this */
241 set_map_timeout (oldmap); 242 set_map_timeout (oldmap);
242 }
243 } 243 }
244} 244}
245 245
246/* 246/*
247 * enter_map(): Moves the player and pets from current map (if any) to 247 * enter_map(): Moves the player and pets from current map (if any) to
1452main (int argc, char **argv) 1452main (int argc, char **argv)
1453{ 1453{
1454 settings.argc = argc; 1454 settings.argc = argc;
1455 settings.argv = argv; 1455 settings.argv = argv;
1456 1456
1457 cfperl_init ();
1458
1459 init (argc, argv); 1457 init (argc, argv);
1460 1458
1461 initPlugins (); 1459 initPlugins ();
1462 1460
1463 for (;;) 1461 for (;;)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines