From 45c2296432ced9dbc1e4181f4fea9f7ea57b9314 Mon Sep 17 00:00:00 2001 From: robojumper Date: Mon, 7 Apr 2025 00:27:02 +0200 Subject: [PATCH] Small equivalence fix --- src/d/lyt/msg_window/d_lyt_msg_window_link.cpp | 8 +++++--- src/d/lyt/msg_window/d_lyt_msg_window_talk.cpp | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/d/lyt/msg_window/d_lyt_msg_window_link.cpp b/src/d/lyt/msg_window/d_lyt_msg_window_link.cpp index a53f0345..550dd28e 100644 --- a/src/d/lyt/msg_window/d_lyt_msg_window_link.cpp +++ b/src/d/lyt/msg_window/d_lyt_msg_window_link.cpp @@ -256,11 +256,13 @@ void dLytMsgWindowLink_c::draw() { mpPanes[2]->SetVisible(false); mLyt.draw(); - mBlurRelated.drawTextBlur(&mText, mOffset, mpPanes[5]->GetAlpha()); + if (mWaitDelay <= 0) { + mBlurRelated.drawTextBlur(&mText, mOffset, mpPanes[3]->GetAlpha()); + } mpPanes[0]->SetVisible(false); - mpPanes[3]->SetVisible(bVis[1]); - mpPanes[4]->SetVisible(bVis[2]); + mpPanes[1]->SetVisible(bVis[1]); + mpPanes[2]->SetVisible(bVis[2]); mLyt.draw(); diff --git a/src/d/lyt/msg_window/d_lyt_msg_window_talk.cpp b/src/d/lyt/msg_window/d_lyt_msg_window_talk.cpp index 56565beb..4dfde09f 100644 --- a/src/d/lyt/msg_window/d_lyt_msg_window_talk.cpp +++ b/src/d/lyt/msg_window/d_lyt_msg_window_talk.cpp @@ -256,11 +256,11 @@ void dLytMsgWindowTalk_c::draw() { mpPanes[2]->SetVisible(false); mLyt.draw(); - mBlurRelated.drawTextBlur(&mText, mOffset, mpPanes[5]->GetAlpha()); + mBlurRelated.drawTextBlur(&mText, mOffset, mpPanes[3]->GetAlpha()); mpPanes[0]->SetVisible(false); - mpPanes[3]->SetVisible(bVis[1]); - mpPanes[4]->SetVisible(bVis[2]); + mpPanes[1]->SetVisible(bVis[1]); + mpPanes[2]->SetVisible(bVis[2]); mLyt.draw();