Changeset 6101 for code/branches/particles2/src/modules
- Timestamp:
- Nov 20, 2009, 1:02:09 AM (15 years ago)
- Location:
- code/branches/particles2/src/modules/weapons/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particles2/src/modules/weapons/projectiles/Rocket.cc
r6098 r6101 137 137 SUPER(Rocket, tick, dt); 138 138 139 if( GameMode::isMaster() )139 if( this->hasLocalController() ) 140 140 { 141 141 this->setAngularVelocity(this->getOrientation() * this->localAngularVelocity_); … … 196 196 } 197 197 198 void Rocket::fire (unsigned int firemode)198 void Rocket::fired(unsigned int firemode) 199 199 { 200 200 if (this->owner_) -
code/branches/particles2/src/modules/weapons/projectiles/Rocket.h
r6087 r6101 110 110 inline float getDamage() const 111 111 { return this->damage_; } 112 virtual void fire (unsigned int firemode);112 virtual void fired(unsigned int firemode); 113 113 114 114 private:
Note: See TracChangeset
for help on using the changeset viewer.