Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 7, 2018, 9:16:52 PM (7 years ago)
Author:
landauf
Message:

[Highscore_HS16] removed playerName from Highscore because the player already has a name (see HumanPlayer.nick)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/towerdefense/TowerDefense.cc

    r11356 r11715  
    201201                    int score = this->getWaveNumber();
    202202                    if(score > Highscore::getInstance().getHighestScoreOfGame("Tower Defense"))
    203                         Highscore::getInstance().storeHighscore("Tower Defense",score);
     203                        Highscore::getInstance().storeHighscore("Tower Defense",score,this->getPlayer());
    204204
    205205          }
Note: See TracChangeset for help on using the changeset viewer.