Changeset 2707 for code/branches/buildsystem3/src
- Timestamp:
- Feb 28, 2009, 12:47:02 PM (16 years ago)
- Location:
- code/branches/buildsystem3/src/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/network/packet/Gamestate.cc
r2706 r2707 184 184 { 185 185 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; 188 188 assert(b); 189 189 } -
code/branches/buildsystem3/src/network/synchronisable/SynchronisableVariable.cc
r2706 r2707 363 363 double temp; 364 364 memcpy(&temp, mem, sizeof(uint64_t)); 365 //*(uint64_t*)(&temp) = *(uint64_t*)(mem);366 365 *(long double*)(&this->variable_) = static_cast<const long double>(temp); 367 366 mem += SynchronisableVariable<const long double>::returnSize(); … … 379 378 double temp = static_cast<double>(this->variable_); 380 379 return memcmp(&temp, mem, sizeof(uint64_t))==0; 381 //return *(uint64_t*)(mem) == *(uint64_t*)(&temp);382 380 } 383 381
Note: See TracChangeset
for help on using the changeset viewer.