Changeset 565
- Timestamp:
- 09/17/07 07:47:18 (1 year ago)
- Files:
-
- trunk/src/dungeon.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dungeon.c
r538 r565 1769 1769 void play_game(void) 1770 1770 { 1771 bool existing_dead_save = FALSE; 1772 1771 1773 /* Initialize */ 1772 1774 bool new_game = init_angband(); … … 1808 1810 p_ptr->noscore |= NOSCORE_WIZARD; 1809 1811 } 1812 1813 else if (p_ptr->is_dead) 1814 { 1815 existing_dead_save = TRUE; 1816 } 1810 1817 } 1811 1818 … … 1888 1895 process_player_name(TRUE); 1889 1896 1890 1897 1891 1898 /* Check if we're overwriting a savefile */ 1892 while (new_game && file_exists(savefile))1899 while (new_game && !existing_dead_save) 1893 1900 { 1894 1901 bool overwrite = get_check("Continuing will overwrite an existing savefile. Overwrite? ");
