Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2008, 5:32:58 PM (16 years ago)
Author:
landauf
Message:

small update to do further network tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/infos/PlayerInfo.cc

    r1949 r1950  
    5151
    5252        this->ping_ = -1;
     53        this->clientID_ = (unsigned int)-1;
    5354        this->bLocalPlayer_ = Core::isStandalone();
    5455        this->bLocalPlayer_ = false;
     
    8586    {
    8687std::cout << "# PI(" << this->getObjectID() << "): changedName to " << this->getName() << std::endl;
     88        Gametype* gametype = Gametype::getCurrentGametype();
     89        if (gametype)
     90            gametype->playerChangedName(this);
    8791    }
    8892
Note: See TracChangeset for help on using the changeset viewer.