Changeset 1730 for code/branches/network/src/network/packet/Packet.cc
- Timestamp:
- Sep 7, 2008, 3:30:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/packet/Packet.cc
r1715 r1730 82 82 enetPacket_=p.enetPacket_; 83 83 flags_=p.flags_; 84 packetDirection_ = p.packetDirection_; 85 clientID_ = p.clientID_; 84 86 if(p.data_){ 85 87 data_ = new unsigned char[p.getSize()]; … … 97 99 98 100 bool Packet::send(){ 99 /*if(packetDirection_ != ENUM::Outgoing && packetDirection_ != ENUM::Bidirectional ){101 if(packetDirection_ != ENUM::Outgoing && packetDirection_ != ENUM::Bidirectional ){ 100 102 assert(0); 101 103 return false; 102 } */104 } 103 105 if(!enetPacket_){ 104 106 if(!data_){
Note: See TracChangeset
for help on using the changeset viewer.