From 3eb58528ddeab8d3ce8c5bb4a45dc12b484e2f78 Mon Sep 17 00:00:00 2001 From: cohrs Date: Mon, 15 Sep 2003 16:20:38 +0000 Subject: [PATCH] redundant comparison bit --- src/do.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do.c b/src/do.c index 4b07de7cf..7902db7a9 100644 --- a/src/do.c +++ b/src/do.c @@ -192,7 +192,7 @@ const char *verb; } water_damage(obj, FALSE, FALSE); } else if (u.ux == x && u.uy == y && - (!u.utrap || (u.utrap && u.utraptype != TT_PIT)) && + (!u.utrap || u.utraptype != TT_PIT) && (t = t_at(x,y)) != 0 && t->tseen && (t->ttyp==PIT || t->ttyp==SPIKED_PIT)) { /* you escaped a pit and are standing on the precipice */