Changeset 2524 for code/branches/buildsystem2/src/orxonox
- Timestamp:
- Dec 22, 2008, 8:12:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/orxonox/overlays/hud/HUDBar.cc
r2087 r2524 114 114 if (this->colours_.size() > 0) 115 115 { 116 ColourValue colour1, colour2 = (*this->colours_.rbegin()).second; 117 float value1, value2 = (*this->colours_.rbegin()).first; 116 ColourValue colour1(0, 0, 0, 1); 117 ColourValue colour2 = (*this->colours_.rbegin()).second; 118 float value1(0); 119 float value2 = (*this->colours_.rbegin()).first; 118 120 for (std::map<float, ColourValue>::reverse_iterator it = this->colours_.rbegin(); it != this->colours_.rend(); ++it) 119 121 {
Note: See TracChangeset
for help on using the changeset viewer.