mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Fix some CLIENT_ONLY issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5538 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
474f01d553
commit
d2fd1daba8
1 changed files with 5 additions and 1 deletions
|
@ -541,7 +541,7 @@ static qboolean QDECL Plug_Cvar_GetString(const char *name, char *outbuffer, qui
|
|||
if (!strcmp(name, "sv.mapname"))
|
||||
{
|
||||
#ifdef CLIENTONLY
|
||||
Q_strncpyz(ret, "", retsize);
|
||||
Q_strncpyz(outbuffer, "", sizeofbuffer);
|
||||
#else
|
||||
Q_strncpyz(outbuffer, svs.name, sizeofbuffer);
|
||||
#endif
|
||||
|
@ -1855,7 +1855,11 @@ static void *QDECL PlugBI_GetEngineInterface(const char *interfacename, size_t s
|
|||
Plug_GetLastInputFrame,
|
||||
Plug_GetServerInfo,
|
||||
Plug_SetUserInfo,
|
||||
#if defined(HAVE_SERVER) && defined(HAVE_CLIENT)
|
||||
Plug_MapLog_Query,
|
||||
#else
|
||||
NULL,
|
||||
#endif
|
||||
#ifdef QUAKEHUD
|
||||
Plug_GetTeamInfo,
|
||||
Plug_GetWeaponStats,
|
||||
|
|
Loading…
Reference in a new issue