mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 06:53:30 +00:00
FIXED: Android build issues, added building to Andr from Linux
I really hope this didnt break anything Im proud of the bash script
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "../../platform/time.h"
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
float Gui::InvGuiScale = 1.0f / 3.0f;
|
||||
float Gui::GuiScale = 1.0f / Gui::InvGuiScale;
|
||||
@@ -841,7 +842,9 @@ void Gui::renderPlayerList(Font* font, int screenWidth, int screenHeight) {
|
||||
}
|
||||
|
||||
// player count title
|
||||
std::string titleText = "Players (" + std::to_string(playerNames.size()) + ")";
|
||||
std::ostringstream titleStream;
|
||||
titleStream << "Players (" << playerNames.size() << ")";
|
||||
std::string titleText = titleStream.str();
|
||||
float titleWidth = font->width(titleText);
|
||||
|
||||
if (titleWidth > maxNameWidth)
|
||||
|
||||
Reference in New Issue
Block a user