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

Comparing deliantra/server/server/login.C (file contents):
Revision 1.33 by root, Sat Dec 23 06:41:39 2006 UTC vs.
Revision 1.34 by root, Sat Dec 23 13:56:25 2006 UTC

35 * keep the game running. Thus, we don't want to free any information. 35 * keep the game running. Thus, we don't want to free any information.
36 */ 36 */
37void 37void
38emergency_save (int flag) 38emergency_save (int flag)
39{ 39{
40 player *pl;
41
42 trying_emergency_save = 1; 40 trying_emergency_save = 1;
43 41
44 LOG (llevError, "Emergency save: "); 42 LOG (llevError, "Emergency save: ");
45 for (pl = first_player; pl; pl = pl->next) 43 for_all_players (pl)
46 { 44 {
47 if (!pl->ob) 45 if (!pl->ob)
48 { 46 {
49 LOG (llevError, "No name, ignoring this.\n"); 47 LOG (llevError, "No name, ignoring this.\n");
50 continue; 48 continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines