| 1488 | |
| 1489 | |
| 1490 | void cClientHandle::HandleEntitySprinting(int a_EntityID, bool a_IsSprinting) |
| 1491 | { |
| 1492 | if (a_EntityID != m_Player->GetUniqueID()) |
| 1493 | { |
| 1494 | // We should only receive entity actions from the entity that is performing the action |
| 1495 | return; |
| 1496 | } |
| 1497 | |
| 1498 | m_Player->SetSprint(a_IsSprinting); |
| 1499 | } |
| 1500 | |
| 1501 | |
| 1502 |
no test coverage detected