mirror of
				https://github.com/lov3b/Pong.git
				synced 2025-11-03 23:00:19 +01:00 
			
		
		
		
	score was off by one
This commit is contained in:
		@@ -34,6 +34,6 @@ void Score::incrementScore(const Side side) {
 | 
				
			|||||||
            break;
 | 
					            break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (incrementedScore > MAX_SCORE)
 | 
					    if (incrementedScore >= MAX_SCORE)
 | 
				
			||||||
        sideWon_ = side;
 | 
					        sideWon_ = side;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user