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

Apply some minor code cleanups

This commit is contained in:
sfan5
2025-01-17 18:10:49 +01:00
parent 94239153b5
commit e5f276ecee
8 changed files with 18 additions and 30 deletions

View File

@@ -120,9 +120,6 @@ struct TileLayer
MATERIAL_FLAG_TILEABLE_HORIZONTAL|
MATERIAL_FLAG_TILEABLE_VERTICAL;
//! If true, the tile has its own color.
bool has_color = false;
std::vector<FrameSpec> *frames = nullptr;
/*!
@@ -131,6 +128,9 @@ struct TileLayer
*/
video::SColor color = video::SColor(0, 0, 0, 0);
//! If true, the tile has its own color.
bool has_color = false;
u8 scale = 1;
};