correct y
This commit is contained in:
		@@ -95,7 +95,7 @@ void Game::draw_guesses(SDL_Renderer *renderer) {
 | 
			
		||||
    size_t len = strlen(word);
 | 
			
		||||
    int total_width = (len - 1) * STEP_SIZE + CHAR_SIZE;
 | 
			
		||||
    int start_x = (SCREEN_SIZE.x - total_width) / 2;
 | 
			
		||||
    int char_y = (SCREEN_SIZE.y / 2) - CHAR_SIZE / 2;
 | 
			
		||||
    int char_y = (SCREEN_SIZE.y / 4) * 3 - CHAR_SIZE / 2;
 | 
			
		||||
 | 
			
		||||
    for (int i = 0; i < len; i++) {
 | 
			
		||||
        int here = start_x + i * STEP_SIZE;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user