Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 20, 2009, 1:02:09 AM (14 years ago)
Author:
scheusso
Message:

rocket now steerable also on client
AIController shoots again now ;)
fire network function is now in CE instead of Pawn
some changes in PlayerInfo that allow controlling of temporary objects (such as Rocket)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/particles2/src/modules/weapons/projectiles/Rocket.cc

    r6098 r6101  
    137137        SUPER(Rocket, tick, dt);
    138138       
    139         if( GameMode::isMaster() )
     139        if( this->hasLocalController() )
    140140        {
    141141            this->setAngularVelocity(this->getOrientation() * this->localAngularVelocity_);
     
    196196    }
    197197   
    198     void Rocket::fire(unsigned int firemode)
     198    void Rocket::fired(unsigned int firemode)
    199199    {
    200200        if (this->owner_)
Note: See TracChangeset for help on using the changeset viewer.