1
0
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:
Zeno Rogue 2019-04-05 13:42:36 +02:00
parent f5d08e34fd
commit 05ee76015f

View File

@ -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));
} }