src/tree_cmd.cpp
changeset 7601 988040ee27f4
parent 7597 e9ad1ed5c4d5
child 7710 777524fbb1fb
equal deleted inserted replaced
7600:f885804de706 7601:988040ee27f4
   457 				}
   457 				}
   458 			} while (i);
   458 			} while (i);
   459 
   459 
   460 			if (tep == NULL) break;
   460 			if (tep == NULL) break;
   461 
   461 
   462 			AddSortableSpriteToDraw(tep->image, tep->pal, ti->x + tep->x, ti->y + tep->y, 5, 5, 0x10, z, HASBIT(_transparent_opt, TO_TREES));
   462 			AddSortableSpriteToDraw(tep->image, tep->pal, ti->x + tep->x, ti->y + tep->y, 16 - tep->x, 16 - tep->y, 0x30, z, HASBIT(_transparent_opt, TO_TREES), -tep->x, -tep->y);
   463 			tep->image = 0;
   463 			tep->image = 0;
   464 		}
   464 		}
   465 	}
   465 	}
   466 
   466 
   467 	EndSpriteCombine();
   467 	EndSpriteCombine();