Only print giant snatching boulder message when cansee pos.
Reported by a couple times directly to devteam, no bz.
This commit is contained in:
+2
-1
@@ -1757,7 +1757,8 @@ int style;
|
|||||||
if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != 0) {
|
if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != 0) {
|
||||||
if (otyp == BOULDER && throws_rocks(mtmp->data)) {
|
if (otyp == BOULDER && throws_rocks(mtmp->data)) {
|
||||||
if (rn2(3)) {
|
if (rn2(3)) {
|
||||||
pline("%s snatches the boulder.", Monnam(mtmp));
|
if (cansee(bhitpos.x, bhitpos.y))
|
||||||
|
pline("%s snatches the boulder.", Monnam(mtmp));
|
||||||
singleobj->otrapped = 0;
|
singleobj->otrapped = 0;
|
||||||
(void) mpickobj(mtmp, singleobj);
|
(void) mpickobj(mtmp, singleobj);
|
||||||
used_up = TRUE;
|
used_up = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user