mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-19 15:20:29 -04:00
Misc Cleanup 5 (#1294)
* quick cleanup * a few more * more * misc cleanup * PR Suggestion
This commit is contained in:
@@ -80,7 +80,8 @@ void func_800AE930(CollisionContext* colCtx, EffectTireMark* this, Vec3f* pos, f
|
||||
spAC->flags |= 1;
|
||||
}
|
||||
|
||||
if (spA8) {} // Necessary to match
|
||||
//! FAKE:
|
||||
if (spA8) {}
|
||||
|
||||
spA8 = &this->elements[this->numElements];
|
||||
spA8->flags = 0;
|
||||
|
||||
@@ -6606,7 +6606,7 @@ void Interface_Update(PlayState* play) {
|
||||
case HUD_VISIBILITY_NONE:
|
||||
case HUD_VISIBILITY_NONE_ALT:
|
||||
case HUD_VISIBILITY_B:
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer << 5);
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer * 32);
|
||||
if (dimmingAlpha < 0) {
|
||||
dimmingAlpha = 0;
|
||||
}
|
||||
@@ -6637,7 +6637,7 @@ void Interface_Update(PlayState* play) {
|
||||
case HUD_VISIBILITY_B_MAGIC:
|
||||
case HUD_VISIBILITY_A_B:
|
||||
case HUD_VISIBILITY_A_B_HEARTS_MAGIC_MINIMAP:
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer << 5);
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer * 32);
|
||||
if (dimmingAlpha < 0) {
|
||||
dimmingAlpha = 0;
|
||||
}
|
||||
@@ -6650,7 +6650,7 @@ void Interface_Update(PlayState* play) {
|
||||
break;
|
||||
|
||||
case HUD_VISIBILITY_ALL:
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer << 5);
|
||||
dimmingAlpha = 255 - (gSaveContext.hudVisibilityTimer * 32);
|
||||
if (dimmingAlpha < 0) {
|
||||
dimmingAlpha = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user