Mercurial > hg > openttd
diff src/station_cmd.cpp @ 8806:104bbcae351d draft
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
author | smatz <smatz@openttd.org> |
---|---|
date | Thu, 03 Apr 2008 19:55:40 +0000 (2008-04-03) |
parents | 2a8950a812dc |
children | 870ff040ec3e |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2184,6 +2184,9 @@ DrawTramCatenary(ti, axis == AXIS_X ? ROAD_X : ROAD_Y); } + /* End now if buildings are invisible */ + if (IsInvisibilitySet(TO_BUILDINGS)) return; + const DrawTileSeqStruct *dtss; foreach_draw_tile_seq(dtss, t->seq) { SpriteID image = dtss->image.sprite;