Changeset 11499 for code/branches/HUD_HS16/src/modules/tetris
- Timestamp:
 - Oct 23, 2017, 2:56:00 PM (8 years ago)
 - Location:
 - code/branches/HUD_HS16
 - Files:
 - 
          
- 2 edited
 
- 
          . (modified) (1 prop)
 - 
          src/modules/tetris/Tetris.cc (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
code/branches/HUD_HS16
- Property svn:mergeinfo changed
 
 - 
        
code/branches/HUD_HS16/src/modules/tetris/Tetris.cc
r11497 r11499 39 39 40 40 #include "Tetris.h" 41 #include "Highscore.h"42 41 43 42 #include "core/CoreIncludes.h" … … 328 327 this->player_->stopControl(); 329 328 } 330 if (Highscore::exists()){ 331 int score = this->getScore(this->getPlayer()); 332 if(score > Highscore::getInstance().getHighestScoreOfGame("Tetris")) 333 Highscore::getInstance().storeHighscore("Tetris",score); 334 335 } 329 336 330 this->cleanup(); 337 331  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






