From 0b304a3747ee4cc503e213d8e56cae87bc1e8041 Mon Sep 17 00:00:00 2001 From: noschXL Date: Thu, 4 Sep 2025 15:15:34 +0200 Subject: [PATCH] did some quick tests --- src/tiles/tilebase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tiles/tilebase.cpp b/src/tiles/tilebase.cpp index 8c15b03..fe65ea1 100644 --- a/src/tiles/tilebase.cpp +++ b/src/tiles/tilebase.cpp @@ -34,7 +34,8 @@ Chunk::Chunk(Coordinate pos, Layer* Owner) tiles.reserve(64); for (int i = 0; i < 64; i++) { - tiles.emplace_back(i, 0, this); + int spriteid = owner->id > 0; + tiles.emplace_back(i, spriteid, this); } }