- Timestamp:
- Jun 23, 2009, 6:02:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/worldentities/pawns/Pawn.cc
r3196 r3214 59 59 PawnManager::touch(); 60 60 this->bAlive_ = true; 61 this->fire_ = 0x0;62 this->firehack_ = 0x0;63 61 this->bReload_ = false; 64 62 … … 122 120 registerVariable(this->health_, variableDirection::toclient); 123 121 registerVariable(this->initialHealth_, variableDirection::toclient); 124 registerVariable(this->fire_, variableDirection::toserver);125 122 registerVariable(this->bReload_, variableDirection::toserver); 126 123 } … … 130 127 SUPER(Pawn, tick, dt); 131 128 132 // if (this->weaponSystem_ && GameMode::isMaster())133 // {134 // for (unsigned int firemode = 0; firemode < WeaponSystem::MAX_FIRE_MODES; firemode++)135 // if (this->fire_ & WeaponSystem::getFiremodeMask(firemode))136 // this->weaponSystem_->fire(firemode);137 //138 // if (this->bReload_)139 // this->weaponSystem_->reload();140 // }141 //142 // this->fire_ = this->firehack_;143 // this->firehack_ = 0x0;144 129 this->bReload_ = false; 145 130
Note: See TracChangeset
for help on using the changeset viewer.