equal
deleted
inserted
replaced
187 |
187 |
188 image = dcts->ground.sprite; |
188 image = dcts->ground.sprite; |
189 pal = dcts->ground.pal; |
189 pal = dcts->ground.pal; |
190 DrawGroundSprite(image, pal); |
190 DrawGroundSprite(image, pal); |
191 |
191 |
|
192 /* If houses are invisible, do not draw the upper part */ |
|
193 if (IsInvisibilitySet(TO_HOUSES)) return; |
|
194 |
192 /* Add a house on top of the ground? */ |
195 /* Add a house on top of the ground? */ |
193 image = dcts->building.sprite; |
196 image = dcts->building.sprite; |
194 if (image != 0) { |
197 if (image != 0) { |
195 AddSortableSpriteToDraw(image, dcts->building.pal, |
198 AddSortableSpriteToDraw(image, dcts->building.pal, |
196 ti->x + dcts->subtile_x, |
199 ti->x + dcts->subtile_x, |