From f8c2d796cd66a17a89af028234738a874d68d63f Mon Sep 17 00:00:00 2001 From: Sirius902 <10891979+Sirius902@users.noreply.github.com> Date: Wed, 9 Sep 2026 16:07:32 -0700 Subject: [PATCH] Fix minimap pulsing effect --- src/d/d_meter_map.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/d/d_meter_map.cpp b/src/d/d_meter_map.cpp index d526d7877f..6349648862 100644 --- a/src/d/d_meter_map.cpp +++ b/src/d/d_meter_map.cpp @@ -17,6 +17,7 @@ #include "m_Do/m_Do_controller_pad.h" #include "d/d_camera.h" #if TARGET_PC +#include "JSystem/JUtility/JUTPalette.h" #include "dusk/settings.h" #include #endif @@ -644,6 +645,11 @@ void dMeterMap_c::draw() { mMapJ2DPicture->setAlpha(alpha); #if TARGET_PC + // Ensure minimap palette gets reuploaded since it is modified for the pulsating border + // effect. + JUTPalette* pPalette = mMapJ2DPicture->getTexture(0)->getPalette(); + pPalette->dataUploaded(); + // Scale the minimap with the user HUD scale and shift down so its bottom-left // corner stays anchored to the same screen position as at scale 1.0. const f32 userHudScale = dGetUserHudScale();