Changes in / [7c52498:1d0ede1] in network-game
- 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.