]> granicus.if.org Git - nethack/commitdiff
Pet starting apport equals your current charisma
authorPasi Kallinen <paxed@alt.org>
Sat, 8 Oct 2016 08:55:22 +0000 (11:55 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 8 Oct 2016 08:55:28 +0000 (11:55 +0300)
src/dog.c

index 0d55baad86971d5486999fff07d52b2a3f0f4b84..fba99840765372684993d38576b62e5201298fb8 100644 (file)
--- a/src/dog.c
+++ b/src/dog.c
@@ -41,7 +41,7 @@ register struct monst *mtmp;
     mtmp->meating = 0;
     EDOG(mtmp)->droptime = 0;
     EDOG(mtmp)->dropdist = 10000;
-    EDOG(mtmp)->apport = 10;
+    EDOG(mtmp)->apport = ACURR(A_CHA);
     EDOG(mtmp)->whistletime = 0;
     EDOG(mtmp)->hungrytime = 1000 + monstermoves;
     EDOG(mtmp)->ogoal.x = -1; /* force error if used before set */