Changeset 1384 for code/branches/network/src/orxonox/hud/HUD.cc
- Timestamp:
- May 22, 2008, 4:55:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/hud/HUD.cc
r1362 r1384 104 104 energyBar->resize(); 105 105 106 float v = SpaceShip:: instance_s->getVelocity().length();107 float vmax = SpaceShip:: instance_s->getMaxSpeed();106 float v = SpaceShip::getLocalShip()->getVelocity().length(); 107 float vmax = SpaceShip::getLocalShip()->getMaxSpeed(); 108 108 speedoBar->setValue(v/vmax); 109 109 speedoBar->resize();
Note: See TracChangeset
for help on using the changeset viewer.