mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 03:51:46 +00:00
Clear credits flags on network shutdown
This commit is contained in:
parent
a93a9588f7
commit
f4ab060a05
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <stdio.h>
|
||||
#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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue