Cleanup II
This commit is contained in:
parent
480521ebaf
commit
bd14cd3962
@ -432,8 +432,6 @@ bool netprot::Deserialize(Input* in, char* buf, uint32_t *buflen) {
|
||||
(uint64_t)diff[6] << 8 |
|
||||
(uint64_t)diff[7];
|
||||
|
||||
std::cout << in->timestamp << ": ";
|
||||
|
||||
memcpy(diff, &buf[1 + sizeof(uint64_t)], sizeof(uint64_t));
|
||||
in->sid =
|
||||
(uint64_t)diff[0] << 56 |
|
||||
@ -445,8 +443,6 @@ bool netprot::Deserialize(Input* in, char* buf, uint32_t *buflen) {
|
||||
(uint64_t)diff[6] << 8 |
|
||||
(uint64_t)diff[7];
|
||||
|
||||
std::cout << in->sid << ": ";
|
||||
|
||||
uint8_t keys = 0;
|
||||
memcpy(&keys, &buf[1 + sizeof(uint64_t) * 2], sizeof(uint8_t));
|
||||
in->keys.forward = keys & 0b10000000;
|
||||
|
Loading…
Reference in New Issue
Block a user