aboutsummaryrefslogtreecommitdiff
path: root/player_turn.c
diff options
context:
space:
mode:
Diffstat (limited to 'player_turn.c')
-rw-r--r--player_turn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player_turn.c b/player_turn.c
index ba35953..f4bf19e 100644
--- a/player_turn.c
+++ b/player_turn.c
@@ -71,8 +71,10 @@ void player_turn(int player)
case DOWN: cursor++;
break;
case RIGHT: focus++;
+ cursor = 0;
break;
case LEFT: focus--;
+ cursor = 0;
break;
case ENTER:
if(player_build(focus, cursor, player, tradey)) {
@@ -82,6 +84,7 @@ void player_turn(int player)
}
break;
case '\t': focus = (focus+1)%(data_numplayers()+1);
+ cursor = 0;
break;
case 'h': posthelp();
break;
bgstack15