- Timestamp:
- Dec 30, 2012, 6:48:04 PM (12 years ago)
- Branches:
- master
- Children:
- cee623e
- Parents:
- 1106210
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r1106210 r3535088 68 68 oss << this->id; 69 69 oss << this->name; 70 css << this->pos.x; 71 css << this->pos.y; 70 //oss << '\0'; 71 oss << this->pos.x; 72 oss << this->pos.y; 72 73 73 memcpy(buffer, oss.str().c_str(), oss.str().length );74 memcpy(buffer, oss.str().c_str(), oss.str().length()); 74 75 } 75 76 … … 86 87 */ 87 88 88 iss >> this .id;89 iss >> this->id; 89 90 iss >> this->name; 90 91 iss >> this->pos.x;
Note:
See TracChangeset
for help on using the changeset viewer.