Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 1, 2009, 11:07:57 AM (15 years ago)
Author:
scheusso
Message:

two fixes to prepare the dedicatedClient

Location:
code/branches/core5/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/infos/HumanPlayer.cc

    r5806 r5846  
    178178        }
    179179
    180         if (this->isLocalPlayer() && this->humanHudTemplate_ != "")
     180        if (this->isLocalPlayer() && this->humanHudTemplate_ != "" && GameMode::showsGraphics())
    181181        {
    182182            this->humanHud_ = new OverlayGroup(this);
  • code/branches/core5/src/orxonox/worldentities/ControllableEntity.cc

    r5801 r5846  
    275275    void ControllableEntity::startLocalHumanControl()
    276276    {
    277         if (!this->camera_)
     277        if (!this->camera_ && GameMode::showsGraphics())
    278278        {
    279279            this->camera_ = new Camera(this);
     
    287287        }
    288288
    289         if (!this->hud_)
     289        if (!this->hud_ && GameMode::showsGraphics())
    290290        {
    291291            if (this->hudtemplate_ != "")
Note: See TracChangeset for help on using the changeset viewer.