diff options
| author | hachem <im@hachem.wtf> | 2026-09-05 19:52:33 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-05 19:52:33 +0200 |
| commit | a92a298684d6e6d497ab7bef98ff1e380a707503 (patch) | |
| tree | f8df1f67532e90b9635d775d5a9aa87e0dcf0e09 /src/ui/animated_image.cpp | |
| parent | c0302d681459214f9c2a845edb64b7f14d213f6a (diff) | |
feat: ui refactor of doom and despair
Diffstat (limited to 'src/ui/animated_image.cpp')
| -rw-r--r-- | src/ui/animated_image.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<std::size_t>(ny) * width + nx) * 4; + const unsigned char* near = rgba + (static_cast<std::size_t>(ny) * width + nx) * 4; if (near[3] == 0) continue; |
