成されるバグを修正.
/* Get a name, recolor it, prepare savefile */
get_name();
- /* Process the player name (accept as savefile name) */
- process_player_name(TRUE);
+ /* Process the player name */
+ process_player_name(creating_savefile);
/*** Edit character background ***/
edit_history();
quit(0);
}
+ creating_savefile = new_game;
+
/* Nothing loaded */
if (!character_loaded)
{
}
}
+ creating_savefile = FALSE;
+
p_ptr->teleport_town = FALSE;
p_ptr->sutemi = FALSE;
world_monster = FALSE;
extern bool character_saved;
extern bool character_icky;
extern bool character_xtra;
+extern bool creating_savefile;
extern u32b seed_flavor;
extern u32b seed_town;
extern s16b command_cmd;
bool character_icky; /* The game is in an icky full screen mode */
bool character_xtra; /* The game is in an icky startup mode */
+bool creating_savefile; /* New savefile is currently created */
+
u32b seed_flavor; /* Hack -- consistent object colors */
u32b seed_town; /* Hack -- consistent town layout */