xrogue: escaping to a shell should not cause a move to the left.
This was due to the classic error of forgetting a break statement.
This commit is contained in:
parent
37cc3eeaba
commit
f5bd700b2d
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ command()
|
|||
count--;
|
||||
|
||||
switch (ch) {
|
||||
case '!' : shell();
|
||||
case '!' : shell(); break;
|
||||
case KEY_LEFT : do_move(0, -1);
|
||||
when KEY_DOWN : do_move(1, 0);
|
||||
when KEY_UP : do_move(-1, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue