Skip to content

Commit

Permalink
Fix: proper handling of TNNT entry in makedefs.c
Browse files Browse the repository at this point in the history
  • Loading branch information
k21971 committed Dec 10, 2024
1 parent e3346a1 commit f7d3c1a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions util/makedefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,16 +364,15 @@ char *options;
break;
case 's':
case 'S':
/* FIXME: does this bit here for TNNT need
to be redone? */
do_rnd_access_file(TNNT_NKIFILE, "nki", "A puppy");
rafile('1');
rafile('2');
rafile('3');
rafile('4');
break;
case '1':
case '2':
case '3':
case '4':
rafile(*options);
break;
case 'h':
Expand Down Expand Up @@ -447,6 +446,10 @@ int whichone;
/* default bogusmon: iconic monster that isn't in nethack */
"grue");
break;
case '4':
/* TNNT: robotfindskitten */
do_rnd_access_file(TNNT_NKIFILE, "nki", "A puppy");
break;
}
}

Expand Down

0 comments on commit f7d3c1a

Please sign in to comment.