| 1473 | |
| 1474 | |
| 1475 | void cClientHandle::HandleEntityLeaveBed(int a_EntityID) |
| 1476 | { |
| 1477 | if (a_EntityID != m_Player->GetUniqueID()) |
| 1478 | { |
| 1479 | // We should only receive entity actions from the entity that is performing the action |
| 1480 | return; |
| 1481 | } |
| 1482 | |
| 1483 | m_Player->GetWorld()->BroadcastEntityAnimation(*m_Player, 2); |
| 1484 | } |
| 1485 | |
| 1486 | |
| 1487 |
no test coverage detected