Changeset 88c0536 in network-game
- Timestamp:
- Jun 17, 2013, 1:54:45 AM (11 years ago)
- Branches:
- master
- Children:
- 1d0ede1
- Parents:
- 02fa8fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r02fa8fd r88c0536 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.