Fix 'nowhere to blow' message for happy dice
This commit is contained in:
parent
7fff0405a7
commit
a79c442469
5
orbs.cpp
5
orbs.cpp
|
@ -1481,9 +1481,12 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
||||||
|
|
||||||
if(isWeakCheck(a)) return itNone;
|
if(isWeakCheck(a)) return itNone;
|
||||||
|
|
||||||
if(nowhereToBlow) {
|
if(nowhereToBlow && isBlowableMonster(c->monst)) {
|
||||||
addMessage(XLAT("Nowhere to blow %the1!", c->monst));
|
addMessage(XLAT("Nowhere to blow %the1!", c->monst));
|
||||||
}
|
}
|
||||||
|
else if(nowhereToBlow) {
|
||||||
|
addMessage(XLAT("Nowhere to blow %the1!", c->wall));
|
||||||
|
}
|
||||||
else if(jumpstate == 1 && jumpthru && jumpthru->monst) {
|
else if(jumpstate == 1 && jumpthru && jumpthru->monst) {
|
||||||
addMessage(XLAT("Cannot jump through %the1!", jumpthru->monst));
|
addMessage(XLAT("Cannot jump through %the1!", jumpthru->monst));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue