U260 - waiting times out for no reason while in were form

The initial report thought this was related to summoning help.  It's not.
moveloop would attempt to call you_were() even when you_were() would not
actually change your form.  Certainly there's a layering problem here, but
for now, just put in the same check peffects() uses to avoid calling
you_were() unnecessarily.
This commit is contained in:
cohrs
2003-02-12 02:07:22 +00:00
parent fe05bcf52d
commit b48b6addf3
2 changed files with 3 additions and 1 deletions

View File

@@ -240,7 +240,8 @@ moveloop()
change = 0;
if(Polymorph && !rn2(100))
change = 1;
else if (u.ulycn >= LOW_PM && !rn2(80 - (20 * night())))
else if (u.ulycn >= LOW_PM && !Upolyd &&
!rn2(80 - (20 * night())))
change = 2;
if (change && !Unchanging) {
if (multi >= 0) {