1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

Fix black loading screen background if menu_clouds = false (#13322)

This commit is contained in:
Gregor Parzefall
2023-04-13 19:12:48 +02:00
committed by GitHub
parent d1e5dbefc7
commit 2a1bc82887
5 changed files with 15 additions and 36 deletions

View File

@@ -1775,7 +1775,7 @@ void Client::showUpdateProgressTexture(void *args, u32 progress, u32 max_progres
std::wostringstream strm;
strm << targs->text_base << L" " << targs->last_percent << L"%...";
m_rendering_engine->draw_load_screen(strm.str(), targs->guienv, targs->tsrc, 0,
72 + (u16) ((18. / 100.) * (double) targs->last_percent), true);
72 + (u16) ((18. / 100.) * (double) targs->last_percent));
}
}