- Timestamp:
- May 23, 2011, 3:09:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gameimmersion/src/modules/weapons/projectiles/SimpleRocket.cc
r8533 r8538 159 159 { 160 160 this->owner_ = owner; 161 this->player_ = this-> owner_->getPlayer();161 this->player_ = this->getOwner()->getPlayer(); 162 162 } 163 163 … … 167 167 bool SimpleRocket::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint) 168 168 { 169 return BasicProjectile::basicCollidesAgainst(otherObject,contactPoint,this-> owner_,this);169 return BasicProjectile::basicCollidesAgainst(otherObject,contactPoint,this->getOwner(),this); 170 170 /* if (!this->bDestroy_ && GameMode::isMaster()) 171 171 {
Note: See TracChangeset
for help on using the changeset viewer.