You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
Prevent transition looping fix (#608)
This commit is contained in:
@@ -21,7 +21,7 @@ s32 set_and_reset_transition_fade_timer(s8 fadeTimer, u8 transTime) {
|
||||
|
||||
sTransitionColorFadeCount[fadeTimer]++;
|
||||
|
||||
if (sTransitionColorFadeCount[fadeTimer] == transTime) {
|
||||
if (sTransitionColorFadeCount[fadeTimer] >= transTime) {
|
||||
sTransitionColorFadeCount[fadeTimer] = 0;
|
||||
sTransitionTextureFadeCount[fadeTimer] = 0;
|
||||
reset = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user