summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/tile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/tile.h b/src/client/tile.h
index fcdc46460..fe96cef58 100644
--- a/src/client/tile.h
+++ b/src/client/tile.h
@@ -195,6 +195,7 @@ struct TileLayer
texture_id == other.texture_id &&
material_type == other.material_type &&
material_flags == other.material_flags &&
+ has_color == other.has_color &&
color == other.color &&
scale == other.scale;
}
@@ -288,9 +289,9 @@ struct TileLayer
* The color of the tile, or if the tile does not own
* a color then the color of the node owning this tile.
*/
- video::SColor color;
+ video::SColor color = video::SColor(0, 0, 0, 0);
- u8 scale;
+ u8 scale = 1;
};
/*!