Fold another instance of "You are rooted" into u_rooted
This commit is contained in:
8
src/do.c
8
src/do.c
@@ -941,13 +941,7 @@ dodown()
|
|||||||
int
|
int
|
||||||
doup()
|
doup()
|
||||||
{
|
{
|
||||||
if(!youmonst.data->mmove) {
|
if (u_rooted()) return 1;
|
||||||
You("are rooted %s.",
|
|
||||||
Levitation || Is_airlevel(&u.uz) || Is_waterlevel(&u.uz) ?
|
|
||||||
"in place" : "to the ground");
|
|
||||||
nomul(0);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* "up" to get out of a pit... */
|
/* "up" to get out of a pit... */
|
||||||
if (u.utrap && u.utraptype == TT_PIT) {
|
if (u.utrap && u.utraptype == TT_PIT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user