core/HalfLife2.cpp
changeset 3854 8abb0924497b
parent 3822 dfee1850a179
child 3855 d8ba5eddf543
     1.1 --- a/core/HalfLife2.cpp	Tue Mar 19 11:18:44 2013 -0400
     1.2 +++ b/core/HalfLife2.cpp	Tue Mar 19 11:19:19 2013 -0400
     1.3 @@ -733,7 +733,11 @@
     1.4  		if (g_Players.GetClientOfUserId(pFake->userid) == pFake->client)
     1.5  		{
     1.6  			CPlayer *pPlayer = g_Players.GetPlayerByIndex(pFake->client);
     1.7 +#if SOURCE_ENGINE == SE_DOTA
     1.8 +			engine->ClientCommand(pPlayer->GetEdict(), "%s", pFake->cmd.c_str());
     1.9 +#else
    1.10  			serverpluginhelpers->ClientCommand(pPlayer->GetEdict(), pFake->cmd.c_str());
    1.11 +#endif
    1.12  		}
    1.13  
    1.14  		m_CmdQueue.pop();