diff options
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_eff_tire_mark.c | 3 | ||||
| -rw-r--r-- | src/code/z_parameter.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/code/z_eff_tire_mark.c b/src/code/z_eff_tire_mark.c index d14d6926c..55c15714e 100644 --- a/src/code/z_eff_tire_mark.c +++ b/src/code/z_eff_tire_mark.c @@ -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; diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index e63c9d8e5..ae535dc9b 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -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; } |
