slap against floor while riding

> Greetings! <Someone> suggested I report this bug to you:
> in 3.3.1, riding a horse while blind, I ate a bad carrot (to
> unblind myself) and got the message, "Blecch! Rotten food! The
> world spins and you slap against the floor." Upon regaining
> consciousness, I found I was still safely mounted on my steed,
> raising the question of what part of me could have "slapped
> against the floor." I thought I would have fallen off my
> horse, or at least have slumped against it. <Someone> said in his
> reply to me on rgrn: "Looks like Yet Another message that
> fails to take riding into account; should be easy enough for
> the DevTeam to fix, though, since it's one that's already
> being modified for levitation and the like." Hope this helps.
> Thanks very much! <email deleted>
>
This commit is contained in:
nethack.allison
2002-03-07 23:54:15 +00:00
parent 982fc9354b
commit 416331f4d1
2 changed files with 6 additions and 1 deletions

View File

@@ -1159,7 +1159,11 @@ struct obj *obj;
Is_waterlevel(&u.uz))
what = "you lose control of", where = "yourself";
else
what = "you slap against the", where = surface(u.ux,u.uy);
what = "you slap against the", where =
#ifdef STEED
(u.usteed) ? "saddle" :
#endif
surface(u.ux,u.uy);
pline_The("world spins and %s %s.", what, where);
flags.soundok = 0;
nomul(-rnd(10));