diff options
| author | hachem <im@hachem.wtf> | 2026-04-01 19:52:33 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-04-01 19:52:33 +0200 |
| commit | 15b9b273247099ba0eac75a5769592bf7bcb89dc (patch) | |
| tree | 0a12fe8fa1b6d622361f41445eb7d4fee6b3c06a /src/ui/animated_image.cpp | |
| parent | 22f3bf683913451b38a3bdc3a7992022a0e805bf (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; |
