Unify "You are rooted" message

This commit is contained in:
Pasi Kallinen
2015-04-22 08:35:14 +03:00
parent 0bef94cfde
commit 2783157f95
3 changed files with 18 additions and 14 deletions

View File

@@ -840,13 +840,7 @@ dodown()
(u.ux == sstairs.sx && u.uy == sstairs.sy && !sstairs.up)),
ladder_down = (u.ux == xdnladder && u.uy == ydnladder);
if(!youmonst.data->mmove) {
You("are rooted %s.",
Levitation || Is_airlevel(&u.uz) || Is_waterlevel(&u.uz) ?
"in place" : "to the ground");
nomul(0);
return 1;
}
if (u_rooted()) return 1;
if (stucksteed(TRUE)) {
return 0;