Changeset 2973 for code/trunk/src/orxonox/overlays/hud/PongScore.cc
- Timestamp:
- May 12, 2009, 9:24:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/PongScore.cc
r2890 r2973 135 135 SUPER(PongScore, changedOwner); 136 136 137 this->owner_ = dynamic_cast<Pong*>(this->getOwner()); 137 if (this->getOwner() && this->getOwner()->getGametype()) 138 this->owner_ = dynamic_cast<Pong*>(this->getOwner()->getGametype()); 139 else 140 this->owner_ = 0; 138 141 } 139 142 }
Note: See TracChangeset
for help on using the changeset viewer.