mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-01 09:23:04 -04:00
Animation Cleanup: En_T* (#1522)
* anim T cleanup * more cleanup * brackets and floats * small thing * more floats * fix name * fix * format --------- Co-authored-by: angie <angheloalf95@gmail.com>
This commit is contained in:
+2
-2
@@ -4023,7 +4023,7 @@ typedef struct {
|
||||
} DoorLockInfo; // size = 0x1C
|
||||
|
||||
DoorLockInfo sDoorLocksInfo[DOORLOCK_MAX] = {
|
||||
/* DOORLOCK_NORMAL */ { 0.54f, 6000.0f, 5000.0, 1.0f, 0.0f, gDoorChainDL, gDoorLockDL },
|
||||
/* DOORLOCK_NORMAL */ { 0.54f, 6000.0f, 5000.0f, 1.0f, 0.0f, gDoorChainDL, gDoorLockDL },
|
||||
/* DOORLOCK_BOSS */ { 0.644f, 12000.0f, 8000.0f, 1.0f, 0.0f, gBossDoorChainDL, gBossDoorLockDL },
|
||||
/* DOORLOCK_2 */ { 0.6400000453f, 8500.0f, 8000.0f, 1.75f, 0.1f, gDoorChainDL, gDoorLockDL },
|
||||
};
|
||||
@@ -4968,7 +4968,7 @@ void Actor_DrawDamageEffects(PlayState* play, Actor* actor, Vec3f bodyPartsPos[]
|
||||
for (bodyPartIndex = 0; bodyPartIndex < bodyPartsCount; bodyPartIndex++, bodyPartsPos++) {
|
||||
alpha = bodyPartIndex & 3;
|
||||
alpha = effectAlphaScaled - 30.0f * alpha;
|
||||
if (effectAlphaScaled < 30.0f * (bodyPartIndex & 3)) {
|
||||
if (effectAlphaScaled < (30.0f * (bodyPartIndex & 3))) {
|
||||
alpha = 0.0f;
|
||||
}
|
||||
if (alpha > 255.0f) {
|
||||
|
||||
Reference in New Issue
Block a user