Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 1, 2010, 12:37:53 PM (15 years ago)
Author:
gnadler
Message:

RocketController now creates rocket. compiles.
but rocket doesn't spawn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc

    r6810 r6813  
    5959        this->lifetime_ = 100;
    6060                //this->camera_ = null;
    61                 RocketController* myRController = new RocketController(this);
    62                 this->setController(myRController);
     61                //RocketController* myRController = new RocketController(this);
     62                //this->setController(creator);
    6363                //myRController->setRocket(this, myRController);
    6464               
     
    6868        //this->controllableEntity_->setController(this->controller_);
    6969
    70         if (GameMode::isMaster())
    71         {
     70        //if (GameMode::isMaster())
     71        //{
    7272         /*   this->setCollisionType(WorldEntity::Kinematic);
    7373            this->setVelocity(0,0,-100);*/
     
    9292
    9393            this->destroyTimer_.setTimer(this->lifetime_, false, createExecutor(createFunctor(&SimpleRocket::destroyObject, this)));
    94         }
     94       // }
    9595
    9696    }
Note: See TracChangeset for help on using the changeset viewer.