Remove FS_Read2().
Functionally the same as FS_Read(). Streaming functionality was removed in https://github.com/ioquake/ioq3/commit/672cfbf16f83fb67f6ce9bb1d3571dc32a5b3083 but flag remained.
This commit is contained in:
1 parent
b173ac0599
commit
d4e1a01f33
7 files changed
+5
-39
No files matched your search
@@ -543,7 +543,7 @@ void SV_BotInitBotLib(void) {
|
||||
|
||||
// file system access
|
||||
botlib_import.FS_FOpenFile = FS_FOpenFileByMode;
|
||||
botlib_import.FS_Read = FS_Read2;
|
||||
botlib_import.FS_Read = FS_Read;
|
||||
botlib_import.FS_Write = FS_Write;
|
||||
botlib_import.FS_FCloseFile = FS_FCloseFile;
|
||||
botlib_import.FS_Seek = FS_Seek;
|
||||
|
||||
@@ -325,7 +325,7 @@ intptr_t SV_GameSystemCalls( intptr_t *args ) {
|
||||
case G_FS_FOPEN_FILE:
|
||||
return FS_FOpenFileByMode( VMA(1), VMA(2), args[3] );
|
||||
case G_FS_READ:
|
||||
FS_Read2( VMA(1), args[2], args[3] );
|
||||
FS_Read( VMA(1), args[2], args[3] );
|
||||
return 0;
|
||||
case G_FS_WRITE:
|
||||
FS_Write( VMA(1), args[2], args[3] );
|
||||
|
||||
Reference in new issue
Block a user