Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2011, 4:54:07 PM (14 years ago)
Author:
dafrick
Message:

Replacing getNick() with getName(). nick_ in HumanPlayer is only needed to synchronize the player name over the network.

Location:
code/branches/dockingsystem2/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/src/modules/docking/Dock.cc

    r8196 r8197  
    113113            COUT(0) << "Docking::execute Player was not as human as expected.." << std::endl;
    114114        }
    115         COUT(0) << "Dock triggered by player: " << human->getNick() << ".." << std::endl;
     115        COUT(0) << "Dock triggered by player: " << human->getName() << ".." << std::endl;
    116116
    117117        //TODO: This is waaay too oversimplified
  • code/branches/dockingsystem2/src/orxonox/infos/HumanPlayer.h

    r8196 r8197  
    4848            float getPing() const;
    4949            float getPacketLossRatio() const;
    50 
    51             inline const std::string& getNick() const
    52                 { return this->nick_; }
    5350
    5451            void setClientID(unsigned int clientID);
Note: See TracChangeset for help on using the changeset viewer.