From f446554fda670b91857acc142139a29764ef7fc8 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 8 Jul 2024 21:21:08 -0400 Subject: [PATCH] online bugfix --- decompile/General/MAIN/MainFrame_RenderFrame.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/decompile/General/MAIN/MainFrame_RenderFrame.c b/decompile/General/MAIN/MainFrame_RenderFrame.c index 7a061b0cf..e51033734 100644 --- a/decompile/General/MAIN/MainFrame_RenderFrame.c +++ b/decompile/General/MAIN/MainFrame_RenderFrame.c @@ -1479,9 +1479,7 @@ void RenderAllLevelGeometry(struct GameTracker* gGT) void MultiplayerWumpaHUD(struct GameTracker* gGT) { - if((gGT->hudFlags & 1) == 0) return; - if(gGT->numPlyrCurrGame < 2) return; - + // must also work for 1P, or Online breaks for(int i = 0; i < gGT->numPlyrCurrGame; i++) { struct Driver* d = gGT->drivers[i]; @@ -1498,6 +1496,9 @@ void MultiplayerWumpaHUD(struct GameTracker* gGT) } } + if((gGT->hudFlags & 1) == 0) return; + if(gGT->numPlyrCurrGame < 2) return; + #ifndef REBUILD_PS1 UI_RenderFrame_Wumpa3D_2P3P4P(gGT); #endif