engine: fix build

This commit is contained in:
Alibek Omarov 2019-07-19 17:17:12 +03:00 committed by GitHub
parent 8a4239d48d
commit 4eab7d6503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 );