starting the game without a pet

Incorporate a slightly cleaned up version of <Someone>'s patch to enable a
"pettype:none" startup option that allows one to start the game without a pet.
This commit is contained in:
cohrs
2002-01-20 21:05:29 +00:00
parent ce63457151
commit 7a634884b4
7 changed files with 16 additions and 7 deletions

View File

@@ -195,7 +195,7 @@ NEARDATA struct obj zeroobj = DUMMY;
NEARDATA char dogname[PL_PSIZ] = DUMMY;
NEARDATA char catname[PL_PSIZ] = DUMMY;
NEARDATA char horsename[PL_PSIZ] = DUMMY;
char preferred_pet; /* '\0', 'c', 'd' */
char preferred_pet; /* '\0', 'c', 'd', 'n' (none) */
/* monsters that went down/up together with @ */
NEARDATA struct monst *mydogs = (struct monst *)0;
/* monsters that are moving to another dungeon level */