mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
correct error message when trying to move from Rock III to a wall
This commit is contained in:
parent
7f636a2a7c
commit
1680693ec9
@ -870,7 +870,7 @@ void pcmove::tell_why_impassable() {
|
||||
addMessage(XLAT("Wrong color!"));
|
||||
else if(c2->wall == waRoundTable)
|
||||
addMessage(XLAT("It would be impolite to land on the table!"));
|
||||
else if(snakelevel(cwt.at) >= 3 && snakelevel(c2) == 0)
|
||||
else if(snakelevel(cwt.at) >= 3 && snakelevel(c2) == 0 && !isWall(c2))
|
||||
addMessage(XLAT("You would get hurt!", c2->wall));
|
||||
else if(cellEdgeUnstable(cwt.at) && cellEdgeUnstable(c2)) {
|
||||
addMessage(XLAT("Gravity does not allow this!"));
|
||||
|
Loading…
Reference in New Issue
Block a user