industry_cmd.c
changeset 2535 149921ee5e27
parent 2498 3ed05caa4449
child 2537 5e4ca74e995a
equal deleted inserted replaced
2534:2dd8d362639b 2535:149921ee5e27
   358 		image |= ormod;
   358 		image |= ormod;
   359 
   359 
   360 	z = ti->z;
   360 	z = ti->z;
   361 	/* Add bricks below the industry? */
   361 	/* Add bricks below the industry? */
   362 	if (ti->tileh & 0xF) {
   362 	if (ti->tileh & 0xF) {
   363 		AddSortableSpriteToDraw((ti->tileh & 0xF) + 0x3DD, ti->x, ti->y, 16, 16, 7, z);
   363 		AddSortableSpriteToDraw(SPR_FOUNDATION_BASE + (ti->tileh & 0xF), ti->x, ti->y, 16, 16, 7, z);
   364 		AddChildSpriteScreen(image, 0x1F, 1);
   364 		AddChildSpriteScreen(image, 0x1F, 1);
   365 		z += 8;
   365 		z += 8;
   366 	} else {
   366 	} else {
   367 		/* Else draw regular ground */
   367 		/* Else draw regular ground */
   368 		DrawGroundSprite(image);
   368 		DrawGroundSprite(image);