diff --git a/doc/fixes34.1 b/doc/fixes34.1 index f8d844fcf..1574b4a27 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -304,6 +304,7 @@ salamanders have no legs and cannot ride all objects carried by a monster who's hit by a polymorph zap are protected from that zap, not just worn armor which falls off due to shape change sparkle option for display effects was ignored on explosions +level teleport while on a sleeping steed caused panic and possible crash Platform- and/or Interface-Specific Fixes diff --git a/src/dog.c b/src/dog.c index 03374e806..09b06be1e 100644 --- a/src/dog.c +++ b/src/dog.c @@ -465,7 +465,13 @@ boolean pets_only; /* true for ascension or final escape */ the amulet; if you don't have it, will chase you only if in range. -3. */ (u.uhave.amulet && mtmp->iswiz)) - && !mtmp->msleeping && mtmp->mcanmove + && ((!mtmp->msleeping && mtmp->mcanmove) +#ifdef STEED + /* eg if level teleport or new trap, steed has no control + to avoid following */ + || (mtmp == u.usteed) +#endif + ) /* monster won't follow if it hasn't noticed you yet */ && !(mtmp->mstrategy & STRAT_WAITFORU)) { stay_behind = FALSE;