mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
a better message on illegal moves in Brown Island
This commit is contained in:
parent
f5d08e34fd
commit
05ee76015f
2
game.cpp
2
game.cpp
@ -8114,6 +8114,8 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
|||||||
}
|
}
|
||||||
else if(c2->wall == waChasm && c2->land == laDual)
|
else if(c2->wall == waChasm && c2->land == laDual)
|
||||||
addMessage(XLAT("You cannot move there!"));
|
addMessage(XLAT("You cannot move there!"));
|
||||||
|
else if(!c2->wall)
|
||||||
|
addMessage(XLAT("You cannot move there!"));
|
||||||
else {
|
else {
|
||||||
addMessage(XLAT("You cannot move through %the1!", c2->wall));
|
addMessage(XLAT("You cannot move through %the1!", c2->wall));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user