mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-17 07:19:02 +02:00
This seems no longer needed for dedicated servers
Shader/texture assets are no longer loaded where the pointer parameters to the asset unloading function won't be out of scope anymore
This commit is contained in:
@@ -51,10 +51,10 @@ void HRtech_AsyncLoad(std::string svPakFileName)
|
||||
|
||||
void RTech_Game_Attach()
|
||||
{
|
||||
DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
|
||||
//DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
|
||||
}
|
||||
|
||||
void RTech_Game_Detach()
|
||||
{
|
||||
DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
|
||||
//DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user