| 1667 | |
| 1668 | |
| 1669 | bool cConnection::HandleServerEntityVelocity(void) |
| 1670 | { |
| 1671 | HANDLE_SERVER_PACKET_READ(ReadBEInt, int, EntityID); |
| 1672 | HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityX); |
| 1673 | HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityY); |
| 1674 | HANDLE_SERVER_PACKET_READ(ReadBEShort, short, VelocityZ); |
| 1675 | Log("Received a PACKET_ENTITY_VELOCITY from the server:"); |
| 1676 | Log(" EntityID = %d", EntityID); |
| 1677 | Log(" Velocity = %s", PrintableAbsIntTriplet(VelocityX, VelocityY, VelocityZ, 8000).c_str()); |
| 1678 | COPY_TO_CLIENT(); |
| 1679 | return true; |
| 1680 | } |
| 1681 | |
| 1682 | |
| 1683 |
nothing calls this directly
no test coverage detected