Changeset 2111 for code/branches/objecthierarchy/src/network/packet
- Timestamp:
- Nov 2, 2008, 12:38:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/packet/Gamestate.cc
r2070 r2111 244 244 //copy and modify header 245 245 #ifndef NDEBUG 246 HEADER->crc32 = calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize);246 HEADER->crc32 = orxonox::calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize); 247 247 #endif 248 248 *GAMESTATE_HEADER(ndata) = *HEADER; … … 281 281 } 282 282 #ifndef NDEBUG 283 assert(HEADER->crc32== calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize));283 assert(HEADER->crc32==orxonox::calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize)); 284 284 #endif 285 285
Note: See TracChangeset
for help on using the changeset viewer.