src/industry_cmd.cpp
changeset 8806 4fe163e0b52a
parent 8785 871586967963
child 8836 f6f1ea3d7e93
--- a/src/industry_cmd.cpp	Thu Apr 03 16:16:52 2008 +0000
+++ b/src/industry_cmd.cpp	Thu Apr 03 19:55:40 2008 +0000
@@ -303,6 +303,9 @@
 
 	DrawGroundSprite(image, pal);
 
+	/* If industries are transparent and invisible, do not draw the upper part */
+	if (IsInvisibilitySet(TO_INDUSTRIES)) return;
+
 	/* Add industry on top of the ground? */
 	image = dits->building.sprite;
 	if (image != 0) {