src/town_cmd.cpp
changeset 8806 4fe163e0b52a
parent 8796 ccf3ed611354
child 8814 bff94f5654b5
equal deleted inserted replaced
8805:f5ca1c3d16af 8806:4fe163e0b52a
   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,