diff --git a/engine/client/cl_gameui.c b/engine/client/cl_gameui.c index ede3c36db..fefdd7a73 100644 --- a/engine/client/cl_gameui.c +++ b/engine/client/cl_gameui.c @@ -982,7 +982,7 @@ pfnCheckGameDll */ int GAME_EXPORT pfnCheckGameDll( void ) { -#if XASH_INTERNAL_GAMELIBS +#ifdef XASH_INTERNAL_GAMELIBS return true; #else string dllpath; diff --git a/engine/common/host.c b/engine/common/host.c index 51b5af421..fa29fde2e 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -1017,7 +1017,7 @@ void Host_InitCommon( int argc, char **argv, const char *progname, qboolean bCha #if TARGET_OS_IOS Q_strncpy( host.rootdir, IOS_GetDocsDir(), sizeof( host.rootdir )); #elif XASH_ANDROID && XASH_SDL - Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath, sizeof( host.rootdir )); + Q_strncpy( host.rootdir, SDL_AndroidGetExternalStoragePath(), sizeof( host.rootdir )); #elif XASH_PSVITA if ( !PSVita_GetBasePath( host.rootdir, sizeof( host.rootdir ))) {