From 698c7913e8e56649cb413b155bc9381e91f10bbe Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Fri, 11 Jun 2010 15:53:23 +0000 Subject: Fixed gamedir not being changed properly when connecting to a server. Forbid changing gamedir at all while connected to a server. Automatically restart filesystem when user changes gamedir while disconnected. Killed FS_NeedRestart and FS_SafeToRestart. --- source/files.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/files.h') diff --git a/source/files.h b/source/files.h index b0a9d29..e352bec 100644 --- a/source/files.h +++ b/source/files.h @@ -77,14 +77,14 @@ typedef struct file_info_s { void FS_Init( void ); void FS_Shutdown( void ); -qboolean FS_NeedRestart( void ); void FS_Restart( qboolean total ); -qboolean FS_SafeToRestart( void ); #if USE_CLIENT qboolean FS_RenameFile( const char *from, const char *to ); #endif +void FS_CreatePath( char *path ); + char *FS_CopyExtraInfo( const char *name, const file_info_t *info ); size_t FS_FOpenFile( const char *filename, fileHandle_t *f, int mode ); -- cgit v1.2.3