diff --git a/Adventures in Lestoria/CharacterMenuWindow.cpp b/Adventures in Lestoria/CharacterMenuWindow.cpp index 52ab3d05..18c41f88 100644 --- a/Adventures in Lestoria/CharacterMenuWindow.cpp +++ b/Adventures in Lestoria/CharacterMenuWindow.cpp @@ -105,7 +105,7 @@ void Menu::InitializeCharacterMenuWindow(){ equipSelectionSelectButton->Disable(); const static auto GetLabelText=[](ItemAttribute attribute){ - std::string attrStr=std::string(attribute.Name())+":\n "; + std::string attrStr=std::string(attribute.Name())+"\n "; attrStr+=std::to_string(game->GetPlayer()->GetStat(attribute)); if(attribute.DisplayAsPercent()){ attrStr+="%"; @@ -297,7 +297,7 @@ void Menu::InitializeCharacterMenuWindow(){ int yOffset=0; for(const std::string&attribute:displayAttrs){ std::string attrStr=GetLabelText(ItemAttribute::Get(attribute)); - auto attrLabel=characterMenuWindow->ADD("Attribute "+std::string(ItemAttribute::Get(attribute).Name())+" Label",StatLabel)(geom2d::rect{{245,28+2+float(yOffset)},{62,18}},ItemAttribute::Get(attribute),1,ComponentAttr::SHADOW|ComponentAttr::LEFT_ALIGN)END; + auto attrLabel=characterMenuWindow->ADD("Attribute "+std::string(ItemAttribute::Get(attribute).Name())+" Label",StatLabel)(geom2d::rect{{245,28+2+float(yOffset)},{62,18}},ItemAttribute::Get(attribute),1,ComponentAttr::SHADOW|ComponentAttr::LEFT_ALIGN|ComponentAttr::FIT_TO_LABEL)END; Menu::AddEquipStatListener(attrLabel); yOffset+=20; } diff --git a/Adventures in Lestoria/StatLabel.h b/Adventures in Lestoria/StatLabel.h index 0b051fff..58ddc755 100644 --- a/Adventures in Lestoria/StatLabel.h +++ b/Adventures in Lestoria/StatLabel.h @@ -72,7 +72,7 @@ protected: SetValue(game->GetPlayer()->GetStat(stat)); } inline void UpdateLabel(){ - std::string attrStr=std::string(stat.Name())+":\n "; + std::string attrStr=std::string(stat.Name())+"\n "; attrStr+=std::to_string(value); if(stat.DisplayAsPercent()){ attrStr+="%"; diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 23872079..cb8e32de 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 0 #define VERSION_MINOR 3 #define VERSION_PATCH 0 -#define VERSION_BUILD 7167 +#define VERSION_BUILD 7170 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index f105201c..4712f184 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ