diff --git a/main.cpp b/main.cpp index 46ff50c..88622af 100644 --- a/main.cpp +++ b/main.cpp @@ -85,7 +85,6 @@ vector move_player(vector player_pos, char input) // Check if it is possible to move player to target pos if (can_move_player(player_pos, -1, 0)) --player_pos[1]; - // Actually move player break; case 's': // Check if it is possible to move player to target pos @@ -140,7 +139,7 @@ void render_play_field(const vector player_pos) { // ... render ... if (i == player_pos[0] && j == player_pos[1]) - cout << "S "; // ... 'S' if it is the entry where the player is currently + cout << "S"; // ... 'S' if it is the entry where the player is currently else cout << play_field[i][j]; // ... the actual entry of the field }