Commit c57d6445 authored by fallenstardust's avatar fallenstardust

点左上角卡图清除聊天、系统消息

parent 672022c0
...@@ -1050,6 +1050,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) { ...@@ -1050,6 +1050,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
irr::core::position2di pos(x, y); irr::core::position2di pos(x, y);
if (x < (200 * mainGame->xScale) && y < (270 * mainGame->yScale)) { if (x < (200 * mainGame->xScale) && y < (270 * mainGame->yScale)) {
mainGame->textFont->setTransparency(true); mainGame->textFont->setTransparency(true);
mainGame->ClearChatMsg();
break; break;
}//touch the pic of detail to refresh textfonts }//touch the pic of detail to refresh textfonts
if(x < 300 * mainGame->xScale) if(x < 300 * mainGame->xScale)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment