| 1189 | |
| 1190 | |
| 1191 | void cClientHandle::HandlePlayerLook(float a_Rotation, float a_Pitch, bool a_IsOnGround) |
| 1192 | { |
| 1193 | if ((m_Player == NULL) || (m_State != csPlaying)) |
| 1194 | { |
| 1195 | return; |
| 1196 | } |
| 1197 | |
| 1198 | m_Player->SetYaw (a_Rotation); |
| 1199 | m_Player->SetHeadYaw (a_Rotation); |
| 1200 | m_Player->SetPitch (a_Pitch); |
| 1201 | m_Player->SetTouchGround(a_IsOnGround); |
| 1202 | } |
| 1203 | |
| 1204 | |
| 1205 |
no test coverage detected