mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-05 02:07:03 +00:00
Merge pull request #187 from jruderman/push_wall_msg
Fix 'nowhere to blow' message for happy dice
This commit is contained in:
commit
9b0f64ab8b
5
orbs.cpp
5
orbs.cpp
@ -1482,9 +1482,12 @@ EX eItem targetRangedOrb(cell *c, orbAction a) {
|
||||
|
||||
if(isWeakCheck(a)) return itNone;
|
||||
|
||||
if(nowhereToBlow) {
|
||||
if(nowhereToBlow && isBlowableMonster(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) {
|
||||
addMessage(XLAT("Cannot jump through %the1!", jumpthru->monst));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user