Decompile fn_02081 (CRenderer::DrawBattleFieldIcon)
Batch #17498 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_02081 CRenderer::DrawBattleFieldIcon: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy 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
5f546c9eab
commit
b3aa498ba1
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ void CRenderer::DrawBattleFieldIcon(CRenderSystemBase& system) {
|
|||
int score = g_session.m_score1 < 0 ? 0 : g_session.m_score1;
|
||||
int count = (score > 9) + 1;
|
||||
digits[0] = score % 10;
|
||||
digits[1] = score / 10 % 10;
|
||||
digits[1] = (score /= 10) % 10;
|
||||
if (width < 2) {
|
||||
int x = this->viewport.width - 207;
|
||||
for (int i = 0; i < count; ++i) {
|
||||
|
|
@ -92,7 +92,7 @@ void CRenderer::DrawBattleFieldIcon(CRenderSystemBase& system) {
|
|||
score = g_session.m_score2 < 0 ? 0 : g_session.m_score2;
|
||||
count = (score > 9) + 1;
|
||||
digits[0] = score % 10;
|
||||
digits[1] = score / 10 % 10;
|
||||
digits[1] = (score /= 10) % 10;
|
||||
if (width > 1) {
|
||||
int x = this->viewport.width - 175;
|
||||
for (int i = 0; i < count; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue