From f4ab060a059bad40e579b121fcd820451b3d7a40 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 17 Apr 2023 17:59:29 -0700 Subject: [PATCH] Clear credits flags on network shutdown --- src/pc/network/network.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pc/network/network.c b/src/pc/network/network.c index d942e6772..652237254 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -3,6 +3,7 @@ #include #include "network.h" #include "object_fields.h" +#include "game/level_update.h" #include "object_constants.h" #include "behavior_table.h" #include "src/game/hardcoded.h" @@ -633,6 +634,9 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect gOverrideNear = 0; gOverrideFar = 0; gOverrideFOV = 0; + gCurrActStarNum = 0; + gCurrActNum = 0; + gCurrCreditsEntry = NULL; gLightingDir[0] = 0; gLightingDir[1] = 0; gLightingDir[2] = 0;