From ab1a83c9371d859cd9b10246ade3cef3089050f5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 10:59:13 +0000 Subject: [PATCH] Decompile fn_01846 (CDCBitmap::Draw) Batch #17992 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_01846 CDCBitmap::Draw: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Render/Textures/BitmapTextureCache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Render/Textures/BitmapTextureCache.cpp b/Source/Render/Textures/BitmapTextureCache.cpp index cf5536d80..c02ce62b4 100644 --- a/Source/Render/Textures/BitmapTextureCache.cpp +++ b/Source/Render/Textures/BitmapTextureCache.cpp @@ -77,8 +77,8 @@ void CDCBitmap::Draw(int x, int y, int width, int height, std::uint32_t color) { } if (this->m_cache.m_alpha == true) { - for (CTexture* texture : this->m_cache.m_textures) { - texture->Draw(x, y, width, height, color); + for (auto texture = this->m_cache.m_textures.begin(); texture != this->m_cache.m_textures.end(); ++texture) { + (*texture)->Draw(x, y, width, height, color); } } else { auto texture = this->m_cache.m_textures.begin();