mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Add geo_update_layer_transparency param 30 for not setting anim state
This commit is contained in:
parent
7a38540211
commit
807996c225
2 changed files with 9 additions and 4 deletions
|
@ -75,7 +75,7 @@ Gfx *geo_update_layer_transparency(s32 callContext, struct GraphNode *node, UNUS
|
|||
dlStart = NULL;
|
||||
|
||||
if (callContext == GEO_CONTEXT_RENDER) {
|
||||
objectGraphNode = (struct Object *) gCurGraphNodeObject; // TODO: change this to object pointer?
|
||||
objectGraphNode = (struct Object *) gCurGraphNodeObject;
|
||||
currentGraphNode = (struct GraphNodeGenerated *) node;
|
||||
sp2C = (struct GraphNodeGenerated *) node;
|
||||
|
||||
|
@ -98,7 +98,9 @@ Gfx *geo_update_layer_transparency(s32 callContext, struct GraphNode *node, UNUS
|
|||
0x100 | (currentGraphNode->fnNode.node.flags & 0xFF);
|
||||
}
|
||||
|
||||
objectGraphNode->oAnimState = 0;
|
||||
if (currentGraphNode->parameter != 30) {
|
||||
objectGraphNode->oAnimState = 0;
|
||||
}
|
||||
} else {
|
||||
if (currentGraphNode->parameter == 20) {
|
||||
currentGraphNode->fnNode.node.flags =
|
||||
|
@ -108,7 +110,9 @@ Gfx *geo_update_layer_transparency(s32 callContext, struct GraphNode *node, UNUS
|
|||
0x500 | (currentGraphNode->fnNode.node.flags & 0xFF);
|
||||
}
|
||||
|
||||
objectGraphNode->oAnimState = 1;
|
||||
if (currentGraphNode->parameter != 30) {
|
||||
objectGraphNode->oAnimState = 1;
|
||||
}
|
||||
|
||||
#ifdef VERSION_JP
|
||||
if (currentGraphNode->parameter == 10) {
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "menu/intro_geo.h"
|
||||
#include "game/ingame_menu.h"
|
||||
#include "game/first_person_cam.h"
|
||||
#include "game/envfx_snow.h"
|
||||
|
||||
#ifdef DISCORD_SDK
|
||||
#include "pc/discord/discord.h"
|
||||
|
@ -679,7 +680,7 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect
|
|||
gFogColor[2] = 255;
|
||||
gFogIntensity = 1;
|
||||
gOverrideBackground = -1;
|
||||
gOverrideEnvFx = -1;
|
||||
gOverrideEnvFx = ENVFX_MODE_NO_OVERRIDE;
|
||||
gRomhackCameraAllowCentering = TRUE;
|
||||
gOverrideAllowToxicGasCamera = FALSE;
|
||||
gRomhackCameraAllowDpad = FALSE;
|
||||
|
|
Loading…
Reference in a new issue