Decompile fn_12581 (DrawScreenQuad)

Batch #16473 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_12581 DrawScreenQuad: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-10 20:01:01 +00:00
commit c2ee6a5488
4 changed files with 15 additions and 36 deletions

View file

@ -34,9 +34,8 @@ void CFlyingShipRouteInfo::Draw(UIRoMapWnd* wnd) {
targets.insert(std::pair<std::string, FlyingShipRouteEntry>(entry.name, entry));
DrawScreenLine(
g_renderer->primitives, g_renderer->queues, from.screenPosition[0], from.screenPosition[1], entry.screenPosition[0], entry.screenPosition[1], 2,
g_texMgr.Load(this->lineTextureName.c_str(), 0, true, true, false), static_cast<std::uint32_t>(this->lineColor), g_renderer->fog.supported != 0,
g_depthStart, g_depthEnd
from.screenPosition[0], from.screenPosition[1], entry.screenPosition[0], entry.screenPosition[1], 2,
g_texMgr.Load(this->lineTextureName.c_str(), 0, true, true, false), static_cast<std::uint32_t>(this->lineColor)
);
}