1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

added a message when trying to perform an impossible skip-turn

This commit is contained in:
Zeno Rogue 2019-06-24 12:58:10 +02:00
parent fcb7308aa4
commit 084a7d0469

View File

@ -122,8 +122,11 @@ namespace dual {
movepcto(d, subdir, false); movepcto(d, subdir, false);
if(k == 0) turncount--; if(k == 0) turncount--;
} }
if(!ok) {
addMessage(XLAT("Impossible."));
}
switch_to(cg); switch_to(cg);
return true; return ok;
} }
bool lms[2][5]; bool lms[2][5];