RTech: properly disable asset streaming on dedicated server

Just set the mode to 0, required as we rebuilt the functions and can't really check for dedicated there, we have to initialize it with this mode.
This commit is contained in:
Kawe Mazidjatari 2024-01-30 14:30:20 +01:00
parent 21addb83ea
commit 2ed42296db

View File

@ -22,3 +22,8 @@
// Prevent 'fps_max' from being reset in 'CEngine::Frame' if 'sv_cheats' isn't set; this is bound to the server's tickrate in sdk code to save CPU time.
0x296587: "jnz short loc_1402971B7" --> "jmp short loc_1402971B7"
// Disable pak asset streaming system by calling Pak_Initialize() with mode 0,
// since the dedicated server doesn't use model or texture streaming, and as a
// result the files aren't shipped.
0x44BE87: "mov ecx, 0x1" --> "mov ecx, 0x0"