Stefan Schuermans commited on 2019-08-13 19:40:18
              Showing 1 changed files, with 1 additions and 1 deletions.
            
| ... | ... | 
                      @@ -348,7 +348,7 @@ void Pong::timeStep()  | 
                  
| 348 | 348 | 
                        if (m_scoreLeft >= (int)m_maxScore ||  | 
                    
| 349 | 349 | 
                                     m_scoreRight >= (int)m_maxScore) {
                       | 
                    
| 350 | 350 | 
                        gameOver();  | 
                    
| 351 | 
                        - return; // no gameOver() calls deactivate(), no need to redraw  | 
                    |
| 351 | 
                        + return; // gameOver() calls deactivate(), no need to redraw  | 
                    |
| 352 | 352 | 
                        }  | 
                    
| 353 | 353 | 
                        // game continues with new ball  | 
                    
| 354 | 354 | 
                                 else {
                       | 
                    
| 355 | 355 |