Browse Source

engine: fix build

pull/2/head
Alibek Omarov 5 years ago committed by GitHub
parent
commit
4eab7d6503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      engine/common/lib_common.c

6
engine/common/lib_common.c

@ -119,11 +119,11 @@ static void COM_GenerateServerLibraryPath( char *out, size_t size ) @@ -119,11 +119,11 @@ static void COM_GenerateServerLibraryPath( char *out, size_t size )
char *ext;
#if XASH_WIN32
Q_strncpy( dllpath, GI->game_dll, sizeof( dllname ) );
Q_strncpy( dllpath, GI->game_dll, sizeof( dllpath ) );
#elif XASH_APPLE
Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllname ) );
Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllpath ) );
#else // XASH_APPLE
Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllname ) );
Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllpath ) );
#endif
ext = COM_FileExtension( dllpath );

Loading…
Cancel
Save