SQC-15_online #1

Merged
memartel_loc merged 349 commits from SQC-15_online into master 2023-12-10 17:41:26 -05:00
Showing only changes of commit 51bd6440f0 - Show all commits

View File

@ -615,10 +615,12 @@ bool netprot::Deserialize(Output* out, char* buf, uint32_t *buflen) {
out->states.jumping = states & 0b10000000;
out->states.shooting = states & 0b01000000;
out->states.hit = states & 0b00100000;
out->states.dead = states & 0b00010000;
out->states.still = states & 0b00001000;
out->states.jumpshot = states & 0b00000100;
out->states.running = states & 0b00000010;
out->states.powerup = states & 0b00010000;
out->states.dead = states & 0b00001000;
out->states.still = states & 0b00000100;
out->states.jumpshot = states & 0b00000010;
out->states.running = states & 0b00000001;
uint8_t subvec[3 * sizeof(uint32_t)] = { 0,0,0,0,0,0,0,0,0,0,0,0 };
memcpy(subvec, &buf[2 + sizeof(uint64_t) * 2], sizeof(uint8_t) * 12);