summaryrefslogtreecommitdiff
path: root/src/code/z_play.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-02-24 08:20:18 -0800
committerGitHub <noreply@github.com>2023-02-24 13:20:18 -0300
commit8eb54f4b328dcdbf1d9b5517a7f958dcecc992d8 (patch)
tree3bb879e597a0b2a30d0ee9a5857c921923196555 /src/code/z_play.c
parente75c51e841ca97ad9f2f258c8b163acdfa4a3cf5 (diff)
TransitionFade OK (#1160)
* Match fade * Some adjustments from OoT PR * Missed 1 * iREG(50) * Fill * Sync * PR review
Diffstat (limited to 'src/code/z_play.c')
-rw-r--r--src/code/z_play.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c
index c6c3cc273..f7e3dc521 100644
--- a/src/code/z_play.c
+++ b/src/code/z_play.c
@@ -668,7 +668,8 @@ void Play_UpdateTransition(PlayState* this) {
}
this->transitionCtx.setType(&this->transitionCtx.instanceData,
- (this->transitionTrigger == TRANS_TRIGGER_END) ? 1 : 2);
+ (this->transitionTrigger == TRANS_TRIGGER_END) ? TRANS_INSTANCE_TYPE_FILL_OUT
+ : TRANS_INSTANCE_TYPE_FILL_IN);
this->transitionCtx.start(&this->transitionCtx.instanceData);
if (this->transitionCtx.transitionType == TRANS_TYPE_FADE_WHITE_CS_DELAYED) {