more follow-up, less hiding of illegal values

Catch it prior to the rn2() call instead. We need to
be aware of the issue.
This commit is contained in:
nhmall
2025-01-24 18:26:56 -05:00
parent dc938b7acf
commit ed44da351e

View File

@@ -51,7 +51,7 @@ initedog(struct monst *mtmp)
mtmp->meating = 0;
EDOG(mtmp)->droptime = 0;
EDOG(mtmp)->dropdist = 10000;
EDOG(mtmp)->apport = max(1, ACURR(A_CHA));
EDOG(mtmp)->apport = ACURR(A_CHA);
EDOG(mtmp)->whistletime = 0;
EDOG(mtmp)->hungrytime = 1000 + svm.moves;
EDOG(mtmp)->ogoal.x = -1; /* force error if used before set */