Changeset 5806 for code/branches/core5/src/modules/overlays/hud
- Timestamp:
- Sep 27, 2009, 4:13:13 AM (15 years ago)
- Location:
- code/branches/core5/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/overlays/hud/TeamBaseMatchScore.cc
r5738 r5806 118 118 119 119 if (this->getOwner() && this->getOwner()->getGametype()) 120 this->owner_ = orxonox_cast<TeamBaseMatch*>(this->getOwner()->getGametype() );120 this->owner_ = orxonox_cast<TeamBaseMatch*>(this->getOwner()->getGametype().get()); 121 121 else 122 122 this->owner_ = 0; -
code/branches/core5/src/modules/overlays/hud/UnderAttackHealthBar.cc
r5800 r5806 78 78 this->owner_ = player; 79 79 80 UnderAttack* ua = orxonox_cast<UnderAttack*>(player->getGametype() );80 UnderAttack* ua = orxonox_cast<UnderAttack*>(player->getGametype().get()); 81 81 if (ua) 82 82 {
Note: See TracChangeset
for help on using the changeset viewer.