rolling boulder hits an unmoving boulder
This commit is contained in:
@@ -1333,8 +1333,12 @@ int style;
|
|||||||
}
|
}
|
||||||
if (otyp == BOULDER &&
|
if (otyp == BOULDER &&
|
||||||
(otmp2 = sobj_at(BOULDER, bhitpos.x, bhitpos.y)) != 0) {
|
(otmp2 = sobj_at(BOULDER, bhitpos.x, bhitpos.y)) != 0) {
|
||||||
char *bmsg =
|
char *bmsg = " as one boulder sets another in motion";
|
||||||
" as one boulder sets another in motion";
|
|
||||||
|
if (!isok(bhitpos.x + dx, bhitpos.y + dy) || !dist ||
|
||||||
|
IS_ROCK(levl[bhitpos.x + dx][bhitpos.y + dy].typ))
|
||||||
|
bmsg = " as one boulder hits another";
|
||||||
|
|
||||||
You_hear("a loud crash%s!",
|
You_hear("a loud crash%s!",
|
||||||
cansee(bhitpos.x, bhitpos.y) ? bmsg : "");
|
cansee(bhitpos.x, bhitpos.y) ? bmsg : "");
|
||||||
obj_extract_self(otmp2);
|
obj_extract_self(otmp2);
|
||||||
|
|||||||
Reference in New Issue
Block a user