Changeset 5806 for code/branches/core5/src/modules/pong
- Timestamp:
- Sep 27, 2009, 4:13:13 AM (15 years ago)
- Location:
- code/branches/core5/src/modules/pong
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/pong/Pong.cc
r5800 r5806 158 158 159 159 if (player) 160 this->gtinfo_ .sendAnnounceMessage(player->getName() + " scored");160 this->gtinfo_->sendAnnounceMessage(player->getName() + " scored"); 161 161 } 162 162 -
code/branches/core5/src/modules/pong/PongCenterpoint.cc
r5738 r5806 73 73 if (this->getGametype() && this->getGametype()->isA(Class(Pong))) 74 74 { 75 Pong* pong_gametype = orxonox_cast<Pong*>(this->getGametype() );75 Pong* pong_gametype = orxonox_cast<Pong*>(this->getGametype().get()); 76 76 pong_gametype->setCenterpoint(this); 77 77 } -
code/branches/core5/src/modules/pong/PongScore.cc
r5738 r5806 133 133 134 134 if (this->getOwner() && this->getOwner()->getGametype()) 135 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype() );135 this->owner_ = orxonox_cast<Pong*>(this->getOwner()->getGametype().get()); 136 136 else 137 137 this->owner_ = 0;
Note: See TracChangeset
for help on using the changeset viewer.