From bfeb0d485bb17332e3750217ffc7b9e6c523201b Mon Sep 17 00:00:00 2001 From: Dutchman101 Date: Tue, 5 May 2026 13:12:34 +0800 Subject: [PATCH] Fix dxDrawModel3D bug (it can fail sometimes) introduced by 0c9bfa9 in February --- Client/mods/deathmatch/logic/CClientGame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Client/mods/deathmatch/logic/CClientGame.cpp b/Client/mods/deathmatch/logic/CClientGame.cpp index 4650703a9c..2b6c8f42ee 100644 --- a/Client/mods/deathmatch/logic/CClientGame.cpp +++ b/Client/mods/deathmatch/logic/CClientGame.cpp @@ -3646,6 +3646,9 @@ void CClientGame::StaticPostWorldProcessPedsAfterPreRenderHandler() void CClientGame::StaticPreFxRenderHandler() { + // RenderFadingInEntities is done at this point, so alpha entity list callbacks + // no longer reference CModelRenderer's queue elements. + g_pClientGame->GetModelRenderer()->NotifyFrameEnd(); g_pCore->OnPreFxRender(); }