core/ConCmdManager.cpp
changeset 3004 e3ac0dc6d9a4
parent 2546 32c1d07b2038
child 3302 767c92704500
     1.1 --- a/core/ConCmdManager.cpp	Fri May 14 19:43:38 2010 -0700
     1.2 +++ b/core/ConCmdManager.cpp	Fri May 14 19:43:53 2010 -0700
     1.3 @@ -34,9 +34,9 @@
     1.4  #include "AdminCache.h"
     1.5  #include "sm_stringutil.h"
     1.6  #include "PlayerManager.h"
     1.7 -#include "Translator.h"
     1.8  #include "HalfLife2.h"
     1.9  #include "ChatTriggers.h"
    1.10 +#include "logic_bridge.h"
    1.11  
    1.12  ConCmdManager g_ConCmds;
    1.13  
    1.14 @@ -540,7 +540,7 @@
    1.15  	
    1.16  	/* If we got here, the command failed... */
    1.17  	char buffer[128];
    1.18 -	if (!CoreTranslate(buffer, sizeof(buffer), "%T", 2, NULL, "No Access", &client))
    1.19 +	if (!logicore.CoreTranslate(buffer, sizeof(buffer), "%T", 2, NULL, "No Access", &client))
    1.20  	{
    1.21  		UTIL_Format(buffer, sizeof(buffer), "You do not have access to this command");
    1.22  	}