diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp --- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -171,6 +171,8 @@ static void DrawTile_Unmovable(TileInfo if (ti->tileh != SLOPE_FLAT) DrawFoundation(ti, FOUNDATION_LEVELED); DrawClearLandTile(ti, 2); + if (IsInvisibilitySet(TO_STRUCTURES)) break; + AddSortableSpriteToDraw( dtu->image.sprite, PAL_NONE, ti->x | dtu->delta_x, ti->y | dtu->delta_y, dtu->size_x, dtu->size_y, dtu->size_z, ti->z, @@ -185,6 +187,8 @@ static void DrawTile_Unmovable(TileInfo DrawGroundSprite(SPR_CONCRETE_GROUND, PAL_NONE); + if (IsInvisibilitySet(TO_STRUCTURES)) break; + AddSortableSpriteToDraw(SPR_STATUE_COMPANY, PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)), ti->x, ti->y, 16, 16, 25, ti->z, IsTransparencySet(TO_STRUCTURES)); break; @@ -211,6 +215,8 @@ static void DrawTile_Unmovable(TileInfo t = &_unmovable_display_datas[GetCompanyHQSection(ti->tile)]; DrawGroundSprite(t->ground.sprite, palette); + if (IsInvisibilitySet(TO_STRUCTURES)) break; + foreach_draw_tile_seq(dtss, t->seq) { AddSortableSpriteToDraw( dtss->image.sprite, palette,