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