Validate with enter (not space)

This commit is contained in:
Yorick Barbanneau 2021-10-22 00:37:38 +02:00
parent 9c47a74bc8
commit 83df11530c

View file

@ -162,7 +162,7 @@ void set_next_player_move(s_move * m,p_view v)
if ( out_y < 6 ) { out_y+=2; } if ( out_y < 6 ) { out_y+=2; }
} }
break; break;
case ' ': case '\n':
if ( v->p_uttt->inception_level == 1 ) { if ( v->p_uttt->inception_level == 1 ) {
m->outer_position = coord_to_elocation( out_y, out_x); m->outer_position = coord_to_elocation( out_y, out_x);
return; return;