From a92a298684d6e6d497ab7bef98ff1e380a707503 Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 5 Sep 2026 19:52:33 +0200 Subject: feat: ui refactor of doom and despair --- src/ui/animated_image.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ui/animated_image.cpp') diff --git a/src/ui/animated_image.cpp b/src/ui/animated_image.cpp index 94ad8bc..50f9336 100644 --- a/src/ui/animated_image.cpp +++ b/src/ui/animated_image.cpp @@ -47,8 +47,7 @@ namespace Hsdbg if (nx < 0 || ny < 0 || nx >= width || ny >= height) continue; - const unsigned char* near = - rgba + (static_cast(ny) * width + nx) * 4; + const unsigned char* near = rgba + (static_cast(ny) * width + nx) * 4; if (near[3] == 0) continue; -- cgit v1.3