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
+2
View File
@@ -119,6 +119,8 @@ makedog()
int pettype;
static int petname_used = 0;
if (preferred_pet == 'n') return((struct monst *) 0);
pettype = pet_type();
if (pettype == PM_LITTLE_DOG)
petname = dogname;