Mercurial > hg > openttd
comparison road_cmd.c @ 497:5ac8ae8585fa draft
(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
Now it is active-true.
author | tron <tron@openttd.org> |
---|---|
date | Tue, 23 Nov 2004 22:36:11 +0000 |
parents | b2908e7209e4 |
children | 9dcc34b8887e |
comparison
equal
deleted
inserted
replaced
496:ec6a48b1c277 | 497:5ac8ae8585fa |
---|---|
816 drss = (const DrawRoadSeqStruct*)s; | 816 drss = (const DrawRoadSeqStruct*)s; |
817 | 817 |
818 while ((image=drss->image) != 0) { | 818 while ((image=drss->image) != 0) { |
819 if (image & 0x8000) | 819 if (image & 0x8000) |
820 image |= ormod; | 820 image |= ormod; |
821 if (!(_display_opt & DO_TRANS_BUILDINGS)) // show transparent depots | 821 if (_display_opt & DO_TRANS_BUILDINGS) // show transparent depots |
822 image = (image & 0x3FFF) | 0x3224000; | 822 image = (image & 0x3FFF) | 0x3224000; |
823 | 823 |
824 AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x, | 824 AddSortableSpriteToDraw(image, ti->x | drss->subcoord_x, |
825 ti->y | drss->subcoord_y, drss->width, drss->height, 0x14, ti->z); | 825 ti->y | drss->subcoord_y, drss->width, drss->height, 0x14, ti->z); |
826 drss++; | 826 drss++; |