mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-04 02:09:46 -04:00
Misc Cleanup 2 (#1521)
* begin cleanup * more cleanup * more cleanup * more cleanup * more cleanup * more cleanup * fake matches * more cleanup * more cleanup * small thing * PR Review * PR Review
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@ EnDoor* SubS_FindDoor(PlayState* play, s32 switchFlag) {
|
||||
actor = SubS_FindActor(play, actor, ACTORCAT_DOOR, ACTOR_EN_DOOR);
|
||||
door = (EnDoor*)actor;
|
||||
|
||||
if (actor == NULL) {
|
||||
if (door == NULL) {
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -541,7 +541,7 @@ s32 SubS_ChangeAnimationByInfoS(SkelAnime* skelAnime, AnimationInfoS* animationI
|
||||
endFrame = Animation_GetLastFrame(&animationInfo->animation->common);
|
||||
}
|
||||
startFrame = animationInfo->startFrame;
|
||||
if (startFrame >= endFrame || startFrame < 0) {
|
||||
if ((startFrame >= endFrame) || (startFrame < 0)) {
|
||||
return false;
|
||||
}
|
||||
if (animationInfo->playSpeed < 0.0f) {
|
||||
|
||||
Reference in New Issue
Block a user