mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
General code refactoring/improvements in server, treegen and connection
This commit is contained in:
parent
24f2c38093
commit
bc4ab8b99e
34 changed files with 330 additions and 439 deletions
|
@ -574,7 +574,7 @@ bool parseColorString(const std::string &value, video::SColor &color, bool quiet
|
|||
return success;
|
||||
}
|
||||
|
||||
std::string encodeHexColorString(const video::SColor &color)
|
||||
std::string encodeHexColorString(video::SColor color)
|
||||
{
|
||||
std::string color_string = "#";
|
||||
const char red = color.getRed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue