From 03f70b0a80881c48beed7b14c0a923bca740df14 Mon Sep 17 00:00:00 2001 From: 6arelyFuture Date: Tue, 15 Jul 2025 06:13:17 +0000 Subject: [PATCH] fix: remove last patch as it causes a crash --- src/client/component/fastfiles.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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);