Skip to content

Commit 2cfb592

Browse files
authored
Update client_cvar_value.cpp
1 parent 3f416f6 commit 2cfb592

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/client_cvar_value.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* In no event will the authors be held liable for any damages arising from
1414
* the use of this software.
1515
*/
16-
16+
#define EXPORTDLL extern "C" DLL_PUBLIC
1717
#include "client_cvar_value.h"
1818
#include <networksystem/inetworkserializer.h>
1919
#include <networksystem/inetworkmessages.h>
@@ -175,7 +175,7 @@ bool ClientCvarValue::QueryCvarValue(CPlayerSlot nSlot, const char* pszCvarName,
175175

176176
EXPORTDLL const char* Api_GetClientLanguage(int iSlot)
177177
{
178-
return GetClientLanguage(iSlot);
178+
return g_ClientCvarValue.GetClientLanguage(CPlayerSlot(iSlot));
179179
}
180180
const char* ClientCvarValue::GetClientLanguage(CPlayerSlot nSlot)
181181
{

0 commit comments

Comments
 (0)