Changeset 6417 for code/trunk/src/orxonox/gametypes/Gametype.cc
- Timestamp:
- Dec 25, 2009, 10:23:58 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gametypes/Gametype.cc
r5929 r6417 51 51 { 52 52 RegisterObject(Gametype); 53 53 54 54 this->gtinfo_ = new GametypeInfo(creator); 55 55 … … 71 71 72 72 // load the corresponding score board 73 if (GameMode::showsGraphics() && this->scoreboardTemplate_ != "")73 if (GameMode::showsGraphics() && !this->scoreboardTemplate_.empty()) 74 74 { 75 75 this->scoreboard_ = new OverlayGroup(this); … … 79 79 else 80 80 this->scoreboard_ = 0; 81 81 82 82 /* HACK HACK HACK */ 83 83 this->hackAddBots_ = createConsoleCommand( createFunctor(&Gametype::addBots, this), "hackAddBots"); … … 87 87 /* HACK HACK HACK */ 88 88 } 89 89 90 90 Gametype::~Gametype() 91 91 {
Note: See TracChangeset
for help on using the changeset viewer.