Changeset 11356 for code/trunk/src/modules/invader
- Timestamp:
- Mar 9, 2017, 3:38:58 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/Highscore_HS16 (added) merged: 11226,11233,11235,11245,11254,11265,11267,11304,11313,11315,11324,11326,11333
- Property svn:mergeinfo changed
-
code/trunk/src/modules/invader/Invader.cc
r11083 r11356 33 33 34 34 #include "Invader.h" 35 35 #include "Highscore.h" 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/EventIncludes.h" … … 189 189 // It will misteriously crash the game! 190 190 // Instead startMainMenu, this won't crash. 191 if (Highscore::exists()){ 192 int score = this->getPoints(); 193 if(score > Highscore::getInstance().getHighestScoreOfGame("Orxonox Arcade")) 194 Highscore::getInstance().storeHighscore("Orxonox Arcade",score); 195 196 } 191 197 GSLevel::startMainMenu(); 192 198 }
Note: See TracChangeset
for help on using the changeset viewer.