Changeset 2524 for code/branches/buildsystem2
- Timestamp:
- Dec 22, 2008, 8:12:32 PM (16 years ago)
- Location:
- code/branches/buildsystem2/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/network/packet/Packet.cc
r2171 r2524 165 165 assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer()); 166 166 unsigned int clientID = ClientInformation::findClient(&peer->address)->getID(); 167 Packet *p ;167 Packet *p = 0; 168 168 COUT(5) << "packet type: " << *(ENUM::Type *)&data[_PACKETID] << std::endl; 169 169 switch( *(ENUM::Type *)(data + _PACKETID) ) -
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.