core/smn_console.cpp
changeset 3854 8abb0924497b
parent 3846 dc3ed0c7422c
child 3855 d8ba5eddf543
     1.1 --- a/core/smn_console.cpp	Tue Mar 19 11:18:44 2013 -0400
     1.2 +++ b/core/smn_console.cpp	Tue Mar 19 11:19:19 2013 -0400
     1.3 @@ -1105,7 +1105,11 @@
     1.4  		return 0;
     1.5  	}
     1.6  
     1.7 +#if SOURCE_ENGINE == SE_DOTA
     1.8 +	engine->ClientCommand(pPlayer->GetEdict(), "%s", buffer);
     1.9 +#else
    1.10  	serverpluginhelpers->ClientCommand(pPlayer->GetEdict(), buffer);
    1.11 +#endif
    1.12  
    1.13  	return 1;
    1.14  }