Changeset 2664 for code/branches/buildsystem3/src/network/packet
- Timestamp:
- Feb 14, 2009, 10:53:45 PM (16 years ago)
- Location:
- code/branches/buildsystem3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3
- Property svn:ignore deleted
- Property svn:mergeinfo changed
-
code/branches/buildsystem3/src/network/packet/CMakeLists.txt
r2131 r2664 1 SET(SRC_FILES1 ADD_SOURCE_FILES(NETWORK_SRC_FILES 2 2 Packet.cc 3 3 Chat.cc … … 8 8 DeleteObjects.cc 9 9 ) 10 11 ADD_SOURCE_FILES(SRC_FILES) -
code/branches/buildsystem3/src/network/packet/Packet.cc
r2662 r2664 167 167 assert(ClientInformation::findClient(&peer->address)->getID() != (unsigned int)-2 || !Host::isServer()); 168 168 unsigned int clientID = ClientInformation::findClient(&peer->address)->getID(); 169 Packet *p ;169 Packet *p = 0; 170 170 COUT(5) << "packet type: " << *(ENUM::Type *)&data[_PACKETID] << std::endl; 171 171 switch( *(ENUM::Type *)(data + _PACKETID) ) -
code/branches/buildsystem3/src/network/packet/Packet.h
r2171 r2664 34 34 #include <enet/enet.h> 35 35 #include <boost/thread/recursive_mutex.hpp> 36 37 #include "util/Integers.h"38 36 39 37 namespace orxonox {
Note: See TracChangeset
for help on using the changeset viewer.