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:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user