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/dodgerace/DodgeRace.cc

    r11356 r11715  
    228228                    int score = this->getPoints();
    229229                    if(score > Highscore::getInstance().getHighestScoreOfGame("Dodge Race"))
    230                         Highscore::getInstance().storeHighscore("Dodge Race",score);
     230                        Highscore::getInstance().storeHighscore("Dodge Race",score,this->getPlayer()->getPlayer());
    231231
    232232          }
Note: See TracChangeset for help on using the changeset viewer.