JUMPSHOOT
This commit is contained in:
parent
84249ef84c
commit
51bd6440f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user