Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2707 for code/branches


Ignore:
Timestamp:
Feb 28, 2009, 12:47:02 PM (16 years ago)
Author:
scheusso
Message:

forgot to remove some unnecessary debug output and comments

Location:
code/branches/buildsystem3/src/network
Files:
2 edited

Legend:

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

    r2706 r2707  
    184184    {
    185185      bool b = s->updateData(mem, mode);
    186       if(!b)
    187         COUT(0) << "data could not be updated" << endl;
     186//      if(!b)
     187//        COUT(0) << "data could not be updated" << endl;
    188188      assert(b);
    189189    }
  • code/branches/buildsystem3/src/network/synchronisable/SynchronisableVariable.cc

    r2706 r2707  
    363363  double temp;
    364364  memcpy(&temp, mem, sizeof(uint64_t));
    365   //*(uint64_t*)(&temp) = *(uint64_t*)(mem);
    366365  *(long double*)(&this->variable_) = static_cast<const long double>(temp);
    367366  mem += SynchronisableVariable<const long double>::returnSize();
     
    379378  double temp = static_cast<double>(this->variable_);
    380379  return memcmp(&temp, mem, sizeof(uint64_t))==0;
    381   //return *(uint64_t*)(mem) == *(uint64_t*)(&temp);
    382380}
    383381
Note: See TracChangeset for help on using the changeset viewer.