| 1458 | |
| 1459 | |
| 1460 | void cClientHandle::HandleEntityCrouch(int a_EntityID, bool a_IsCrouching) |
| 1461 | { |
| 1462 | if (a_EntityID != m_Player->GetUniqueID()) |
| 1463 | { |
| 1464 | // We should only receive entity actions from the entity that is performing the action |
| 1465 | return; |
| 1466 | } |
| 1467 | |
| 1468 | m_Player->SetCrouch(a_IsCrouching); |
| 1469 | } |
| 1470 | |
| 1471 | |
| 1472 |
no test coverage detected