Changeset 10571 for code/branches/core7/src/modules/pong
- Timestamp:
- Sep 9, 2015, 1:11:13 PM (9 years ago)
- Location:
- code/branches/core7/src/modules/pong
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/pong/PongCenterpoint.cc
r9667 r10571 98 98 if (this->getGametype() != NULL && this->getGametype()->isA(Class(Pong))) 99 99 { 100 Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype() .get());100 Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype()); 101 101 pongGametype->setCenterpoint(this); 102 102 } -
code/branches/core7/src/modules/pong/PongScore.cc
r9939 r10571 170 170 171 171 if (this->getOwner() != NULL && this->getOwner()->getGametype()) 172 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype() .get());172 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype()); 173 173 else 174 174 this->owner_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.