File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ char *rest_file = 0;
6464boolean cant_int = 0 ;
6565boolean did_int = 0 ;
6666boolean score_only ;
67+ boolean have_fun ;
6768boolean init_curses = 0 ;
6869boolean save_is_interactive = 1 ;
6970boolean ask_quit = 1 ;
@@ -266,6 +267,9 @@ do_args(argc, argv)
266267 case 's' :
267268 score_only = 1 ;
268269 break ;
270+ case 'f' :
271+ have_fun = 1 ;
272+ break ;
269273 }
270274 }
271275 } else {
Original file line number Diff line number Diff line change @@ -756,6 +756,7 @@ extern boolean r_see_invisible;
756756extern boolean r_teleport ;
757757extern boolean save_is_interactive ;
758758extern boolean score_only ;
759+ extern boolean have_fun ;
759760extern boolean see_invisible ;
760761extern boolean sustain_strength ;
761762extern boolean trap_door ;
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ put_scores(monster, other)
233233 break ;
234234 }
235235 ne ++ ;
236- if ((!score_only ) && (found_player == -1 )) {
236+ if ((!score_only ) && (! have_fun ) && ( found_player == -1 )) {
237237 if (!name_cmp (scores [i ]+ 15 , login_name )) {
238238 x = 5 ;
239239 while (scores [i ][x ] == ' ' ) {
@@ -248,7 +248,7 @@ put_scores(monster, other)
248248 }
249249 }
250250 }
251- if (found_player != -1 ) {
251+ if ( (! have_fun ) && ( found_player != -1 ) ) {
252252 ne -- ;
253253 for (i = found_player ; i < ne ; i ++ ) {
254254 (void ) strcpy (scores [i ], scores [i + 1 ]);
You can’t perform that action at this time.
0 commit comments