Changeset 10571 for code/branches/core7/src/modules/jump
- Timestamp:
- Sep 9, 2015, 1:11:13 PM (9 years ago)
- Location:
- code/branches/core7/src/modules/jump
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/jump/JumpCenterpoint.cc
r10262 r10571 91 91 if (getGametype() != NULL && this->getGametype()->isA(Class(Jump))) 92 92 { 93 Jump* jumpGametype = orxonox_cast<Jump*>(this->getGametype() .get());93 Jump* jumpGametype = orxonox_cast<Jump*>(this->getGametype()); 94 94 jumpGametype->setCenterpoint(this); 95 95 } -
code/branches/core7/src/modules/jump/JumpScore.cc
r10262 r10571 119 119 if (this->getOwner() != NULL && this->getOwner()->getGametype()) 120 120 { 121 this->owner_ = orxonox_cast<Jump*>(this->getOwner()->getGametype() .get());121 this->owner_ = orxonox_cast<Jump*>(this->getOwner()->getGametype()); 122 122 } 123 123 else
Note: See TracChangeset
for help on using the changeset viewer.