Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2010, 4:12:21 PM (14 years ago)
Author:
scheusso
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network4/src/libraries/network/packet/Gamestate.cc

    r7754 r7755  
    6565
    6666Gamestate::Gamestate():
    67   header_(0)
     67  header_()
    6868{
    6969  flags_ = flags_ | PACKET_FLAG_GAMESTATE;
     
    176176  uint8_t *mem=data_+GamestateHeader::getSize();
    177177  Synchronisable *s;
    178 
     178 
    179179  // update the data of the objects we received
    180180  while(mem < data_+GamestateHeader::getSize()+header_.getDataSize())
     
    191191      else
    192192      {
     193//         COUT(4) << "not creating object of classid " << objectheader.getClassID() << endl;
    193194        mem += objectheader.getDataSize() + ( objectheader.isDiffed() ? SynchronisableHeaderLight::getSize() : SynchronisableHeader::getSize() );
    194195      }
     
    196197    else
    197198    {
     199//       COUT(4) << "updating object of classid " << objectheader.getClassID() << endl;
    198200      bool b = s->updateData(mem, mode);
    199201      assert(b);
     
    303305  header_.setCompSize( buffer );
    304306  header_.setCompressed( true );
    305   COUT(0) << "gamestate compress datasize: " << header_.getDataSize() << " compsize: " << header_.getCompSize() << std::endl;
     307  COUT(4) << "gamestate compress datasize: " << header_.getDataSize() << " compsize: " << header_.getCompSize() << std::endl;
    306308  return true;
    307309}
Note: See TracChangeset for help on using the changeset viewer.