… | |
… | |
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 | */ |
37 | void |
37 | void |
38 | emergency_save (int flag) |
38 | emergency_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; |