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:
1 parent
d176ebe84a
commit
7eba074ce4
4 files changed
+27
-21
No files matched your search
@@ -901,7 +901,7 @@ void SV_RestartGameProgs( void ) {
|
||||
VM_Call( gvm, GAME_SHUTDOWN, qtrue );
|
||||
|
||||
// do a restart instead of a free
|
||||
gvm = VM_Restart( gvm );
|
||||
gvm = VM_Restart(gvm, qtrue);
|
||||
if ( !gvm ) {
|
||||
Com_Error( ERR_FATAL, "VM_Restart on game failed" );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user