redundant comparison bit
This commit is contained in:
2
src/do.c
2
src/do.c
@@ -192,7 +192,7 @@ const char *verb;
|
|||||||
}
|
}
|
||||||
water_damage(obj, FALSE, FALSE);
|
water_damage(obj, FALSE, FALSE);
|
||||||
} else if (u.ux == x && u.uy == y &&
|
} 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 = t_at(x,y)) != 0 && t->tseen &&
|
||||||
(t->ttyp==PIT || t->ttyp==SPIKED_PIT)) {
|
(t->ttyp==PIT || t->ttyp==SPIKED_PIT)) {
|
||||||
/* you escaped a pit and are standing on the precipice */
|
/* you escaped a pit and are standing on the precipice */
|
||||||
|
|||||||
Reference in New Issue
Block a user