Changeset 3088 for code/trunk/src/orxonox/overlays/hud
- Timestamp:
- May 27, 2009, 4:09:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/hud/HUDTimer.cc
r3033 r3088 55 55 56 56 Gametype* gametype = this->getGametype(); 57 58 if (gametype->getTimerIsActive())57 58 if(gametype) 59 59 { 60 this->setCaption(convertToString((int)gametype->getTime() + 1)); 60 if (gametype->getTimerIsActive()) 61 { 62 this->setCaption(convertToString((int)gametype->getTime() + 1)); 63 } 61 64 } 62 65 }
Note: See TracChangeset
for help on using the changeset viewer.