mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
m_play: use FADE_TYPE_* enum for checking if value in range
This commit is contained in:
+2
-2
@@ -134,8 +134,8 @@ static void Game_play_fbdemo_wipe_create_sub(GAME_PLAY* play) {
|
||||
|
||||
bzero(&play->fbdemo_wipe, sizeof(fbdemo_wipe));
|
||||
|
||||
if (type >= 7) {
|
||||
type = 1;
|
||||
if (type >= WIPE_TYPE_NUM) {
|
||||
type = WIPE_TYPE_TRIFORCE;
|
||||
}
|
||||
|
||||
play->fbdemo_wipe.wipe_type = type;
|
||||
|
||||
Reference in New Issue
Block a user