reset gRoomOverride on network_shutdown (#735)
Some checks are pending
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
Blockyyy 2025-04-08 15:08:00 +02:00 committed by GitHub
parent a67c096ecb
commit 0e1ab94894
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -69,6 +69,7 @@ struct SpawnParticlesInfo
extern u8 (*gContinueDialogFunction)(void);
extern struct Object* gContinueDialogFunctionObject;
extern s16 gRoomOverride;
Gfx *geo_update_projectile_pos_from_parent(s32 callContext, UNUSED struct GraphNode *node, Mat4 mtx);
Gfx *geo_update_layer_transparency(s32 callContext, struct GraphNode *node, UNUSED void *context);

View file

@ -679,6 +679,7 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect
gOverrideNear = 0;
gOverrideFar = 0;
gOverrideFOV = 0;
gRoomOverride = -1;
gCurrActStarNum = 0;
gCurrActNum = 0;
gCurrCreditsEntry = NULL;