Added Rendering and Dynamic texture for Fire and it's behaviour

This commit is contained in:
Shredder
2026-04-01 14:03:38 +05:00
parent cbd81b47ce
commit 109bbcfdb1
7 changed files with 414 additions and 18 deletions

View File

@@ -1599,8 +1599,8 @@ bool Level::containsFireTile(const AABB& box) {
for (int z = z0; z < z1; z++) {
int t = getTile(x, y, z);
if (/*t == ((Tile*)(Tile::fire))->id
||*/ t == Tile::lava->id
if (t == ((Tile*)(Tile::fire))->id
|| t == Tile::lava->id
|| t == Tile::calmLava->id) {
return true;
}