Allow VM_Restart to load unpure qagame.qvm so that local server won't crash after map_restart if server operator has qagame.qvm residing outside pak file (#5196)
Thanks to "rg3" for providing a shell account
This commit is contained in:
parent
d176ebe84a
commit
7eba074ce4
4 changed files with 27 additions and 21 deletions
|
@ -363,7 +363,7 @@ void VM_Free( vm_t *vm );
|
|||
void VM_Clear(void);
|
||||
void VM_Forced_Unload_Start(void);
|
||||
void VM_Forced_Unload_Done(void);
|
||||
vm_t *VM_Restart( vm_t *vm );
|
||||
vm_t *VM_Restart(vm_t *vm, qboolean unpure);
|
||||
|
||||
intptr_t QDECL VM_Call( vm_t *vm, int callNum, ... );
|
||||
|
||||
|
@ -663,7 +663,7 @@ int FS_Read( void *buffer, int len, fileHandle_t f );
|
|||
void FS_FCloseFile( fileHandle_t f );
|
||||
// note: you can't just fclose from another DLL, due to MS libc issues
|
||||
|
||||
long FS_ReadFileDir(const char *qpath, void *searchPath, void **buffer);
|
||||
long FS_ReadFileDir(const char *qpath, void *searchPath, qboolean unpure, void **buffer);
|
||||
long FS_ReadFile(const char *qpath, void **buffer);
|
||||
// returns the length of the file
|
||||
// a null buffer will just return the file length without loading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue