Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1937 for code/trunk


Ignore:
Timestamp:
Oct 15, 2008, 5:43:20 PM (16 years ago)
Author:
landauf
Message:

fixed radar-colour and AI-freeze bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/SpaceShip.cc

    r1908 r1937  
    179179                myShip_ = true;
    180180            }
    181             else
    182                 this->setRadarObjectColour(this->getProjectileColour());
    183       }
    184       Model::create();
    185       this->init();
    186       return true;
     181        }
     182        else
     183            this->setRadarObjectColour(this->getProjectileColour());
     184        Model::create();
     185        this->init();
     186        return true;
    187187    }
    188188
     
    258258            if(!network::Host::running()){
    259259              this->backlight_ = new Backlight(this->maxSpeed_, 0.8);
    260               this->backlight_->create();
    261260              this->attachObject(this->backlight_);
    262261              this->backlight_->setPosition(-2.35, 0, 0.2);
     262              this->backlight_->create();
    263263              this->backlight_->setColour(this->getProjectileColour());
    264264 
Note: See TracChangeset for help on using the changeset viewer.