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).
This commit is contained in:
parent
e095ab7857
commit
ab1a83c937
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue