1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Reorder ObjectProperties struct

This commit is contained in:
sfan5 2024-02-29 12:52:42 +01:00
parent e734b3f0d8
commit 585ca90ae0
2 changed files with 36 additions and 25 deletions

View file

@ -32,7 +32,7 @@ ObjectProperties::ObjectProperties()
colors.emplace_back(255,255,255,255);
}
std::string ObjectProperties::dump()
std::string ObjectProperties::dump() const
{
std::ostringstream os(std::ios::binary);
os << "hp_max=" << hp_max;