core/provider/provider_ep2.cpp
changeset 833 9a8182b48222
parent 818 1516c9026fd0
child 839 eab123e5ee23
     1.1 --- a/core/provider/provider_ep2.cpp	Tue Apr 16 13:26:55 2013 -0400
     1.2 +++ b/core/provider/provider_ep2.cpp	Mon Apr 22 19:01:48 2013 -0400
     1.3 @@ -62,7 +62,10 @@
     1.4  /* Functions */
     1.5  void CacheUserMessages();
     1.6  void Detour_Error(const tchar *pMsg, ...);
     1.7 -#if SOURCE_ENGINE >= SE_ORANGEBOX
     1.8 +#if SOURCE_ENGINE == SE_DOTA
     1.9 +void ClientCommand(edict_t *pEdict, const CCommand &args);
    1.10 +void LocalCommand_Meta(void *pUnknown, const CCommand &args);
    1.11 +#elif SOURCE_ENGINE >= SE_ORANGEBOX
    1.12  void ClientCommand(edict_t *pEdict, const CCommand &args);
    1.13  void LocalCommand_Meta(const CCommand &args);
    1.14  #else
    1.15 @@ -498,7 +501,11 @@
    1.16  };
    1.17  #endif
    1.18  
    1.19 -#if SOURCE_ENGINE >= SE_ORANGEBOX
    1.20 +#if SOURCE_ENGINE == SE_DOTA
    1.21 +void LocalCommand_Meta(void *pUnknown, const CCommand &args)
    1.22 +{
    1.23 +	GlobCommand cmd(&args);
    1.24 +#elif SOURCE_ENGINE >= SE_ORANGEBOX
    1.25  void LocalCommand_Meta(const CCommand &args)
    1.26  {
    1.27  	GlobCommand cmd(&args);