Changeset 1d0ede1 in network-game for common/Player.cpp
- Timestamp:
- Jun 17, 2013, 2:27:26 AM (11 years ago)
- Branches:
- master
- Children:
- c76134b
- Parents:
- 7c52498 (diff), 88c0536 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r7c52498 r1d0ede1 144 144 memcpy(buffer+46, &this->range, 4); 145 145 146 strcpy(buffer+ 46, this->name.c_str());146 strcpy(buffer+50, this->name.c_str()); 147 147 } 148 148 … … 165 165 memcpy(&this->range, buffer+46, 4); 166 166 167 this->name.assign(buffer+ 46);167 this->name.assign(buffer+50); 168 168 } 169 169
Note:
See TracChangeset
for help on using the changeset viewer.