diff --git a/src/client/component/fastfiles.cpp b/src/client/component/fastfiles.cpp index b547092..f587379 100644 --- a/src/client/component/fastfiles.cpp +++ b/src/client/component/fastfiles.cpp @@ -166,7 +166,10 @@ namespace fastfiles utils::hook::inject(0x14026FFAC, xmodel_pool + 8); utils::hook::inject(0x14027463C, xmodel_pool + 8); utils::hook::inject(0x140274689, xmodel_pool + 8); - + // Reallocate asset pools + // Disabled because it causes a crash in the main menu once you rejoin a server after + // disconnecting and map rotating. +#if 0 reallocate_asset_pool(); reallocate_asset_pool(); reallocate_asset_pool(); @@ -181,7 +184,7 @@ namespace fastfiles reallocate_asset_pool(); reallocate_asset_pool(); reallocate_asset_pool(); - +#endif // Fix compressor type on streamed file load db_read_stream_file_hook.create(0x14027AA70, db_read_stream_file_stub);