From 65dcf2e2cc7ae4ac30f2a198151ed70cf07a74c1 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 22 Apr 2015 11:54:27 +0300 Subject: [PATCH] Fold another instance of "You are rooted" into u_rooted --- src/do.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/do.c b/src/do.c index e3fe47c79..97c11a8ef 100644 --- a/src/do.c +++ b/src/do.c @@ -941,13 +941,7 @@ dodown() int doup() { - 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; /* "up" to get out of a pit... */ if (u.utrap && u.utraptype == TT_PIT) {