summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dungeon.cc9
-rw-r--r--src/dungeon.h2
-rw-r--r--src/main.c12
3 files changed, 5 insertions, 18 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc
index 3ec79068..bff82d12 100644
--- a/src/dungeon.cc
+++ b/src/dungeon.cc
@@ -5092,12 +5092,8 @@ static void load_all_pref_files(void)
/*
* Actually play a game
- *
- * If the "new_game" parameter is true, then, after loading the
- * savefile, we will commit suicide, if necessary, to allow the
- * player to start a new game.
*/
-void play_game(bool_ new_game)
+void play_game()
{
int i, tmp_dun;
@@ -5129,7 +5125,8 @@ void play_game(bool_ new_game)
(void)Term_set_cursor(0);
/* Character list */
- if (!new_game && !no_begin_screen) new_game = begin_screen();
+ bool_ new_game = FALSE;
+ if (!no_begin_screen) new_game = begin_screen();
no_begin_screen = FALSE;
/* Attempt to load */
diff --git a/src/dungeon.h b/src/dungeon.h
index 1ce166d1..43515f9a 100644
--- a/src/dungeon.h
+++ b/src/dungeon.h
@@ -7,7 +7,7 @@
extern "C" {
#endif
-extern void play_game(bool_ new_game);
+extern void play_game();
#ifdef __cplusplus
} // extern "C"
diff --git a/src/main.c b/src/main.c
index 680e5c5a..f6379624 100644
--- a/src/main.c
+++ b/src/main.c
@@ -109,8 +109,6 @@ int main(int argc, char *argv[])
bool_ done = FALSE;
- bool_ new_game = FALSE;
-
cptr mstr = NULL;
bool_ args = TRUE;
@@ -134,13 +132,6 @@ int main(int argc, char *argv[])
/* Analyze option */
switch (argv[i][1])
{
- case 'N':
- case 'n':
- {
- new_game = TRUE;
- break;
- }
-
case 'W':
case 'w':
{
@@ -236,7 +227,6 @@ usage:
printf("\n");
puts("Usage: tome [options] [-- subopts]");
puts(" -h This help");
- puts(" -n Start a new character");
puts(" -w Request wizard mode");
puts(" -o Request original keyset");
puts(" -r Request rogue-like keyset");
@@ -362,7 +352,7 @@ usage:
pause_line(23);
/* Play the game */
- play_game(new_game);
+ play_game();
/* Quit */
quit(NULL);