mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
reset gRoomOverride on network_shutdown (#735)
This commit is contained in:
parent
a67c096ecb
commit
0e1ab94894
2 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue