| 2674 | } |
| 2675 | |
| 2676 | void CPlayer::PrintToConsole(const char *pMsg) |
| 2677 | { |
| 2678 | if (m_IsConnected == false || m_bFakeClient == true) |
| 2679 | { |
| 2680 | return; |
| 2681 | } |
| 2682 | |
| 2683 | INetChannel *pNetChan = static_cast<INetChannel *>(engine->GetPlayerNetInfo(m_iIndex)); |
| 2684 | if (pNetChan == NULL) |
| 2685 | { |
| 2686 | return; |
| 2687 | } |
| 2688 | |
| 2689 | engine->ClientPrintf(m_pEdict, pMsg); |
| 2690 | } |
no outgoing calls
no test coverage detected