Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 7, 2008, 3:30:52 PM (16 years ago)
Author:
scheusso
Message:

more progress (still not ok)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/packet/Packet.cc

    r1715 r1730  
    8282  enetPacket_=p.enetPacket_;
    8383  flags_=p.flags_;
     84  packetDirection_ = p.packetDirection_;
     85  clientID_ = p.clientID_;
    8486  if(p.data_){
    8587    data_ = new unsigned char[p.getSize()];
     
    9799
    98100bool Packet::send(){
    99   /*if(packetDirection_ != ENUM::Outgoing && packetDirection_ != ENUM::Bidirectional ){
     101  if(packetDirection_ != ENUM::Outgoing && packetDirection_ != ENUM::Bidirectional ){
    100102    assert(0);
    101103    return false;
    102   }*/
     104  }
    103105  if(!enetPacket_){
    104106    if(!data_){
Note: See TracChangeset for help on using the changeset viewer.